mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-07 17:08:25 -04:00
Update now to utcnow. All tests passing.
This commit is contained in:
@@ -205,7 +205,7 @@ def create_history(obj):
|
||||
|
||||
if not obj.version:
|
||||
obj.version = 1
|
||||
obj.created_at = datetime.datetime.now()
|
||||
obj.created_at = datetime.datetime.utcnow()
|
||||
else:
|
||||
obj.version += 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user