Use UTC where appropriate in python files

This commit is contained in:
NTD 2018-02-02 12:00:37 -05:00 committed by Roy Tam
commit 30d5f081aa
16 changed files with 29 additions and 29 deletions

View file

@ -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.