main2
Bob Mottram 2019-10-11 17:29:13 +01:00
parent 44d7c791b4
commit f70d482478
1 changed files with 1 additions and 1 deletions

View File

@ -1379,7 +1379,7 @@ def inboxUpdateCalendar(baseDir: str,handle: str,postJsonObject: {}) -> None:
continue continue
# get the year and month from the event # get the year and month from the event
eventTime= \ eventTime= \
datetime.datetime.strptime(tag['startTime'], \ datetime.datetime.strptime(tagDict['startTime'], \
"%Y-%m-%dT%H:%M:%SZ") "%Y-%m-%dT%H:%M:%SZ")
eventYear=int(eventTime.strftime("%Y")) eventYear=int(eventTime.strftime("%Y"))
eventMonthNumber=int(eventTime.strftime("%m")) eventMonthNumber=int(eventTime.strftime("%m"))