diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2024-10-14 15:27:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-14 15:27:37 -0400 |
| commit | eb6062ce00cce6fa1973466e6b2fb376e3e89cc8 (patch) | |
| tree | f61bf5da1e4463745539472e5d5db3e7ed599d1c /compiler/rustc_parse_format/src/lib.rs | |
| parent | 9322d183f45e0fd5a509820874cc5ff27744a479 (diff) | |
| download | rust-eb6062ce00cce6fa1973466e6b2fb376e3e89cc8.tar.gz rust-eb6062ce00cce6fa1973466e6b2fb376e3e89cc8.zip | |
Resolved python deprecation warning in publish_toolstate.py
`utcnow()` is deprecated in favor of passing a timezone to `now()`. `utcnow()` would return a tz-naive datetime, while this returns a tz-aware datetime. For the purposes of the formatting we do, these are the same.
Diffstat (limited to 'compiler/rustc_parse_format/src/lib.rs')
0 files changed, 0 insertions, 0 deletions
