forked from DGNum/gestioCOF
Black
This commit is contained in:
parent
9dabab51db
commit
1ada8645b8
1 changed files with 7 additions and 6 deletions
|
@ -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)
|
)
|
||||||
|
|
Loading…
Reference in a new issue