Commit 50d4f638057853171fbeba764d5f119856d725ae
1 parent
06c95255
Exists in
master
and in
2 other branches
Hotfix for a very unexpected bug that happens on prod (?!)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
web/run.py
... | ... | @@ -293,7 +293,7 @@ def datetime_from_list(time_list): |
293 | 293 | # Day Of Year starts at 0, but for our datetime parser it starts at 1 |
294 | 294 | doy = '{:03d}'.format(int(''.join(time_list[4:7])) + 1) |
295 | 295 | return datetime.datetime.strptime( |
296 | - "%s%s%s" % (''.join(time_list[0:4]), doy, ''.join(time_list[7:])), | |
296 | + "%s%s%s" % (''.join(time_list[0:4]), doy, ''.join(time_list[7:-1])), | |
297 | 297 | "%Y%j%H%M%S%f" |
298 | 298 | ) |
299 | 299 | ... | ... |