forked from ScoDoc/ScoDoc
Assiduité : liste_assiduites : formatage des dates
This commit is contained in:
parent
a7c7bd655d
commit
b2ef6a4c53
@ -391,11 +391,11 @@ class RowAssiJusti(tb.Row):
|
||||
multi_days = self.ligne["date_debut"].date() != self.ligne["date_fin"].date()
|
||||
|
||||
date_affichees: list[str] = [
|
||||
self.ligne["date_debut"].strftime("%d/%m/%y de %H:%M"), # date début
|
||||
self.ligne["date_fin"].strftime("%d/%m/%y de %H:%M"), # date fin
|
||||
self.ligne["date_debut"].strftime("%d/%m/%y %H:%M"), # date début
|
||||
self.ligne["date_fin"].strftime("%d/%m/%y %H:%M"), # date fin
|
||||
]
|
||||
|
||||
if multi_days:
|
||||
if multi_days and self.ligne["type"] != "justificatif":
|
||||
date_affichees[0] = self.ligne["date_debut"].strftime("%d/%m/%y")
|
||||
date_affichees[1] = self.ligne["date_fin"].strftime("%d/%m/%y")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user