Commit bb3dbc72 authored by Lozac'h Loic's avatar Lozac'h Loic

debug

parent 03dbce38
......@@ -154,7 +154,7 @@ def normalize_proj_and_extend():
def get_meteodates_from_sardate(sardate):
exformat = "%Y%m%d"
saryear,sarmonth,sarday = sardate[:4],sardate[4:6],sardate[6:8]
fsardate = datetime.date(saryear,sarmonth,sarday)
fsardate = datetime.date(int(saryear),int(sarmonth),int(sarday))
oneday = datetime.timedelta(days=1)
sardatem1 = (fsardate - oneday).strftime(exformat)
sardatem2 = (fsardate - oneday - oneday).strftime(exformat)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment