aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/upload_dm_results.py
diff options
context:
space:
mode:
Diffstat (limited to 'infra/bots/recipes/upload_dm_results.py')
-rw-r--r--infra/bots/recipes/upload_dm_results.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/bots/recipes/upload_dm_results.py b/infra/bots/recipes/upload_dm_results.py
index 53e68451bd..ebff963322 100644
--- a/infra/bots/recipes/upload_dm_results.py
+++ b/infra/bots/recipes/upload_dm_results.py
@@ -17,7 +17,7 @@ DEPS = [
]
-import time
+import calendar
DM_JSON = 'dm.json'
@@ -92,7 +92,7 @@ def RunSteps(api):
str(now.hour ).zfill(2),
revision,
builder_name,
- str(int(time.mktime(now.utctimetuple())))])
+ str(int(calendar.timegm(now.utctimetuple())))])
# Trybot results are further siloed by issue/patchset.
if builder_name.endswith('-Trybot'):