From 6ae6e5410191ef0d7bc4db77f1c8448c002a5e41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Sat, 3 Oct 2015 13:46:12 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20des=20versions=20generalizedTimeFormat?= =?UTF-8?q?=20des=20configs=20de=20p=C3=A9riode=20transitoire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion/config/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gestion/config/config.py b/gestion/config/config.py index 76b8f717..6f2f4312 100644 --- a/gestion/config/config.py +++ b/gestion/config/config.py @@ -36,6 +36,8 @@ else: periode_transitoire = False # Prochaine période transitoire de l'année +gtf_debut_periode_transitoire = "%s0816000000+0200" % (dat[0],) +gtf_fin_periode_transitoire = "%s0930235959+0200" % (dat[0],) debut_periode_transitoire = time.mktime(time.strptime("%s/08/16 00:00:00" % (dat[0],), "%Y/%m/%d %H:%M:%S")) fin_periode_transitoire = time.mktime(time.strptime("%s/09/30 23:59:59" % (dat[0],), "%Y/%m/%d %H:%M:%S"))