1
0
forked from ScoDoc/ScoDoc

Fix: affichage date fin sem.

This commit is contained in:
Emmanuel Viennet 2022-03-14 20:23:56 +01:00
parent 6ff10877ae
commit c86ea35d91

View File

@ -312,7 +312,7 @@ class FormSemestre(db.Model):
def mois_fin(self) -> str: def mois_fin(self) -> str:
"Jul 2022" "Jul 2022"
return f"{MONTH_NAMES_ABBREV[self.date_fin.month - 1]} {self.date_debut.year}" return f"{MONTH_NAMES_ABBREV[self.date_fin.month - 1]} {self.date_fin.year}"
def session_id(self) -> str: def session_id(self) -> str:
"""identifiant externe de semestre de formation """identifiant externe de semestre de formation