mirror of https://gitlab.com/bashrc2/epicyon
Show end time on event
parent
7c16732f2a
commit
21359f5990
|
@ -162,7 +162,8 @@ def _html_calendar_day(person_cache: {}, css_cache: {}, translate: {},
|
|||
event_end_date = \
|
||||
datetime.strptime(evnt['endTime'],
|
||||
"%Y-%m-%dT%H:%M:%S%z")
|
||||
event_end_time = event_date.strftime("%H:%M").strip()
|
||||
event_end_time = \
|
||||
event_end_date.strftime("%H:%M").strip()
|
||||
if 'public' in evnt:
|
||||
if evnt['public'] is True:
|
||||
event_is_public = True
|
||||
|
|
Loading…
Reference in New Issue