Skip to content

Commit 65c93dd

Browse files
committed
Reverted timezone related change to check-copyright, which is not a django script.
- Legacy-Id: 18789
1 parent 9a881cc commit 65c93dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/check-copyright

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def get_first_commit(path):
162162
else:
163163
pass
164164
except OSError:
165-
rev, who, when = None, None, timezone.now()
165+
rev, who, when = None, None, datetime.datetime.now()
166166
return { path: { 'rev': rev, 'who': who, 'date': when.strftime('%Y-%m-%d %H:%M:%S'), }, }
167167

168168

0 commit comments

Comments
 (0)