Reverted timezone related change to check-copyright, which is not a django script.

- Legacy-Id: 18789
This commit is contained in:
Robert Sparks 2021-01-11 18:51:50 +00:00
parent 9a881ccf45
commit 65c93ddc6d

View file

@ -162,7 +162,7 @@ def get_first_commit(path):
else:
pass
except OSError:
rev, who, when = None, None, timezone.now()
rev, who, when = None, None, datetime.datetime.now()
return { path: { 'rev': rev, 'who': who, 'date': when.strftime('%Y-%m-%d %H:%M:%S'), }, }