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:
|
||||
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
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue