mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-20 16:13:35 -04:00
remove pytz remnants
This commit is contained in:
@@ -988,4 +988,4 @@ def admin_request(client):
|
||||
|
||||
|
||||
def datetime_in_past(days=0, seconds=0):
|
||||
return datetime.now(tz=ZoneInfo.UTC) - timedelta(days=days, seconds=seconds)
|
||||
return datetime.now(tz=ZoneInfo("UTC")) - timedelta(days=days, seconds=seconds)
|
||||
|
||||
Reference in New Issue
Block a user