summaryrefslogtreecommitdiffstats
path: root/build/variables.py
diff options
context:
space:
mode:
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 7761e6096..de0903af2 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)