This commit is contained in:
Martin Pépin 2020-05-08 15:52:13 +02:00
parent 9dabab51db
commit 1ada8645b8

View file

@ -145,12 +145,13 @@ def dates(event):
) )
if event.all_day: if event.all_day:
return _("du {datestart} au {dateend}{common}").format( return _("du {datestart} au {dateend}{common}").format(
datestart=diffstart, datestart=diffstart, dateend=diffend, common=common
dateend=diffend, )
common=common)
else: else:
return _("du {datestart}{common} à {timestart} au {dateend} à {timeend}").format( return _(
"du {datestart}{common} à {timestart} au {dateend} à {timeend}"
).format(
datestart=diffstart, datestart=diffstart,
common=common, common=common,
timestart=timestart_string, timestart=timestart_string,
@ -162,5 +163,5 @@ def dates(event):
return _("le {datestart}").format(datestart=datestart_string) return _("le {datestart}").format(datestart=datestart_string)
else: else:
return _("le {datestart} à {timestart}").format( return _("le {datestart} à {timestart}").format(
datestart=datestart_string, datestart=datestart_string, timestart=timestart_string
timestart=timestart_string) )