From c0c702a5e3284e843e680064b4c6a7280242c567 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 12:00:37 -0500 Subject: Use UTC where appropriate in python files --- build/variables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/variables.py') 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) -- cgit v1.2.3