summaryrefslogtreecommitdiff
path: root/python/mozbuild
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
commita164a1ab763fc9bd1aa603308fbdac184b9f7100 (patch)
tree59332b13537a0c006c090ae925e8d3be50bb4699 /python/mozbuild
parentd532d899a2a4dbd53d94737cb82bc636e90bea90 (diff)
downloaduxp-a164a1ab763fc9bd1aa603308fbdac184b9f7100.tar.gz
Use UTC where appropriate in python files
Diffstat (limited to 'python/mozbuild')
-rw-r--r--python/mozbuild/mozbuild/android_version_code.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/mozbuild/mozbuild/android_version_code.py b/python/mozbuild/mozbuild/android_version_code.py
index 69ce22b8ea..6d9445c630 100644
--- a/python/mozbuild/mozbuild/android_version_code.py
+++ b/python/mozbuild/mozbuild/android_version_code.py
@@ -79,7 +79,7 @@ def android_version_code_v1(buildid, cpu_arch=None, min_sdk=0, max_sdk=0):
'''
def hours_since_cutoff(buildid):
# The ID is formatted like YYYYMMDDHHMMSS (using
- # datetime.now().strftime('%Y%m%d%H%M%S'); see build/variables.py).
+ # datetime.utcnow().strftime('%Y%m%d%H%M%S'); see build/variables.py).
# The inverse function is time.strptime.
# N.B.: the time module expresses time as decimal seconds since the
# epoch.