Skip to content
Snippets Groups Projects
Commit da9f7ab0 authored by Kien Le's avatar Kien Le
Browse files

Merge branch 'fix-getTime4_not_incrementing_year' into 'master'

Fix util.getTime4

See merge request !24
parents 2e5bccf5 517240cc
No related branches found
No related tags found
1 merge request!24Fix util.getTime4
Pipeline #1792 canceled with stage
in 1 minute and 22 seconds
......@@ -92,7 +92,7 @@ def getTime4(timeStr, trackingYear, yAdded):
"""
if not yAdded:
# first day => move to next year
doy = timeStr.split(':')
doy = int(timeStr.split(':')[0])
if doy == 1:
trackingYear += 1
yAdded = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment