Index: infra/bots/recipes/upload_dm_results.py |
diff --git a/infra/bots/recipes/upload_dm_results.py b/infra/bots/recipes/upload_dm_results.py |
index 53e68451bd5fc7743e1977b701f923eabb8da589..ebff963322ae246902e21b0cd47cbd8feee713a4 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'): |