From c86ea35d9109183f62f7a9eb5f1ca88a59b0f810 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 14 Mar 2022 20:23:56 +0100 Subject: [PATCH] Fix: affichage date fin sem. --- app/models/formsemestre.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/formsemestre.py b/app/models/formsemestre.py index d92c375fb..ceea7eb60 100644 --- a/app/models/formsemestre.py +++ b/app/models/formsemestre.py @@ -312,7 +312,7 @@ class FormSemestre(db.Model): def mois_fin(self) -> str: "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: """identifiant externe de semestre de formation