diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-02-02 12:00:37 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-02-02 12:00:37 -0500 |
commit | c0c702a5e3284e843e680064b4c6a7280242c567 (patch) | |
tree | 59332b13537a0c006c090ae925e8d3be50bb4699 /build/variables.py | |
parent | 45d4933f568d8814d8045852a9a1b006b912dcf7 (diff) | |
download | uxp-c0c702a5e3284e843e680064b4c6a7280242c567.tar.gz |
Use UTC where appropriate in python files
Diffstat (limited to 'build/variables.py')
-rw-r--r-- | build/variables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/variables.py b/build/variables.py index 7761e6096c..de0903af28 100644 --- a/build/variables.py +++ b/build/variables.py @@ -17,7 +17,7 @@ def buildid_header(output): print('Ignoring invalid MOZ_BUILD_DATE: %s' % buildid, file=sys.stderr) buildid = None if not buildid: - buildid = datetime.now().strftime('%Y%m%d%H%M%S') + buildid = datetime.utcnow().strftime('%Y%m%d%H%M%S') output.write("#define MOZ_BUILDID %s\n" % buildid) |