Fine tuned all-day events
This commit is contained in:
parent
d7f485cba6
commit
0dd1ca9b45
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ middle_occurrence_char = '|'
|
||||||
last_occurrence_char = ']'
|
last_occurrence_char = ']'
|
||||||
multiday_begin_character = ' >'
|
multiday_begin_character = ' >'
|
||||||
multiday_end_character = '< '
|
multiday_end_character = '< '
|
||||||
until_character = '-'
|
until_character = ' - '
|
||||||
allday_character = "•"
|
allday_character = "•"
|
||||||
|
|
||||||
allday_lang = {
|
allday_lang = {
|
||||||
|
@ -58,7 +58,7 @@ def event_prefix_str (event, relative_date=None):
|
||||||
if __is_multiday__(event):
|
if __is_multiday__(event):
|
||||||
return multiday_detailed
|
return multiday_detailed
|
||||||
else:
|
else:
|
||||||
return event_time_summary(event)
|
return event_time_detailed(event)
|
||||||
|
|
||||||
def event_time_summary (event):
|
def event_time_summary (event):
|
||||||
if event.allday:
|
if event.allday:
|
||||||
|
|
Loading…
Reference in a new issue