From 574ac7c7033d6cfb0999e8f3e1abf0283b76467f Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Tue, 2 Aug 2011 18:39:21 +0200 Subject: [PATCH] =?UTF-8?q?[config]=20Le=20check=20de=20date=20qui=20chang?= =?UTF-8?q?ait=20tous=20les=206=20mois,=20=C3=A9pisode=20231256?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit darcs-hash:20110802163921-ffbb2-cd325fee49422e8a1195ed165a6f029e72600d57.gz --- gestion/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/config.py b/gestion/config.py index 11473f21..c67650da 100644 --- a/gestion/config.py +++ b/gestion/config.py @@ -17,7 +17,7 @@ from config_srv import adm_only, role # Ne modifier que les dates ! dat = localtime() -if dat[1] < 8: +if dat[1] < 8 or dat[1] == 8 and dat[2] < 16: # Si pas encore début août, on est dans l'année précédente ann_scol = dat[0]-1 periode_transitoire = False