forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -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