Update opolka/ScoDoc from ScoDoc/ScoDoc #2

Merged
opolka merged 1272 commits from ScoDoc/ScoDoc:master into master 2024-05-27 09:11:04 +02:00
Showing only changes of commit b2ef6a4c53 - Show all commits

View File

@ -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")