diff options
| author | 2025-03-12 10:42:09 +0000 | |
|---|---|---|
| committer | 2025-03-12 10:50:22 +0000 | |
| commit | be3dbb2af92ecf4cf7c2e8de6fd9dd4808a20506 (patch) | |
| tree | 2c99c96cb00500adea32fe041e1dee207edb1dde /tools/warn/make_warn_patterns.py | |
| parent | e13bd368a3adbcbdb542276846ce567ff8802d4f (diff) | |
Fix deprecated utcfromtimestamp() usage.
Fixes the following build warning:
build_image.py:53: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
Bug: 402676308
Test: presubmit
Change-Id: I5fe76402231a43aedf5ff5b3ad945fc117d64ffa
Diffstat (limited to 'tools/warn/make_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions