You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like there's a suggested alternative: "Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC)."
Describe alternatives you've considered
No other alternatives at this time.
Additional context
globalvars.py:84
/home/runner/work/SmokeDetector/SmokeDetector/globalvars.py:84: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
startup_utc_date = datetime.utcnow()
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Builds sometimes output a deprecation warning; for example: https://github.com/Charcoal-SE/SmokeDetector/actions/runs/6731552476/job/18296462660#step:10:65
Describe the solution you'd like
It looks like there's a suggested alternative: "Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC)."
Describe alternatives you've considered
No other alternatives at this time.
Additional context
globalvars.py:84
/home/runner/work/SmokeDetector/SmokeDetector/globalvars.py:84: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
startup_utc_date = datetime.utcnow()
The text was updated successfully, but these errors were encountered: