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:
return _("du {datestart} au {dateend}{common}").format(
datestart=diffstart,
dateend=diffend,
common=common)
datestart=diffstart, dateend=diffend, common=common
)
else:
return _("du {datestart}{common} à {timestart} au {dateend} à {timeend}").format(
return _(
"du {datestart}{common} à {timestart} au {dateend} à {timeend}"
).format(
datestart=diffstart,
common=common,
timestart=timestart_string,
@ -162,5 +163,5 @@ def dates(event):
return _("le {datestart}").format(datestart=datestart_string)
else:
return _("le {datestart} à {timestart}").format(
datestart=datestart_string,
timestart=timestart_string)
datestart=datestart_string, timestart=timestart_string
)