mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05: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