mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 00:20:43 -04:00
Change email_access_validated_at formatting to be more in line with other dates on User model
This commit is contained in:
@@ -680,5 +680,5 @@ def format_thousands(value):
|
||||
|
||||
def is_less_than_90_days_ago(date_from_db):
|
||||
return (datetime.utcnow() - datetime.strptime(
|
||||
date_from_db, '%a, %d %b %Y %X %Z'
|
||||
date_from_db, "%Y-%m-%dT%H:%M:%S.%fZ"
|
||||
)).days < 90
|
||||
|
||||
Reference in New Issue
Block a user