summaryrefslogtreecommitdiff
path: root/build/variables.py
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-02-02 12:00:37 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-02-02 12:00:37 -0500
commitc0c702a5e3284e843e680064b4c6a7280242c567 (patch)
tree59332b13537a0c006c090ae925e8d3be50bb4699 /build/variables.py
parent45d4933f568d8814d8045852a9a1b006b912dcf7 (diff)
downloaduxp-c0c702a5e3284e843e680064b4c6a7280242c567.tar.gz
Use UTC where appropriate in python files
Diffstat (limited to 'build/variables.py')
-rw-r--r--build/variables.py2
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)