Fixed wrong reference

This commit is contained in:
Maximilian Giller 2019-04-05 11:37:41 +02:00
parent 9519e3aaed
commit c93210356a

View file

@ -57,7 +57,7 @@ def event_time_detailed (event):
return time_str(event.begin_datetime) + " - " + time_str(event.end_datetime) return time_str(event.begin_datetime) + " - " + time_str(event.end_datetime)
def date_str(dt): def date_str(dt):
return __remove_leading_zero__(dt.strftime('%d. %b')) return remove_leading_zero(dt.strftime('%d. %b'))
def remove_leading_zero (text): def remove_leading_zero (text):
while text[0] is '0': while text[0] is '0':