Check that times are not the same

main
Bob Mottram 2023-01-16 17:13:38 +00:00
parent a941308dbe
commit 92dc1cd5f9
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ def _html_calendar_day(person_cache: {}, translate: {},
event_class = 'calendar__day__event__public__rtl'
cal_item_class = 'calItemPublic'
if event_time:
if event_end_time:
if event_end_time and start_time_str != end_time_str:
event_time = \
'<time datetime="' + start_time_str + '">' + \
event_time + '</time> - ' + \