diff --git a/webinterface.py b/webinterface.py index 2612a446..9b571673 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2847,7 +2847,7 @@ def htmlCalendarDay(translate: {}, \ for ev in eventPost: if ev['type']=='Event': if ev.get('startTime'): - eventDate=datetime.datetime.strptime(ev['startTime'],"%Y-%m-%dT%H:%M:%S%z") + eventDate=datetime.strptime(ev['startTime'],"%Y-%m-%dT%H:%M:%S%z") eventTime=eventDate.strftime("%H:%M") if ev.get('name'): eventDescription=ev['name']