From 84e335ee1cb32c3a8940f61a62e14b59df750446 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Fri, 25 May 2012 10:51:15 +0200 Subject: [PATCH] =?utf8?q?Il=20y=20a=20des=20dates=20=C3=A0=203=20chiffres?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- historien.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/historien.py b/historien.py index d916e75..df9b99c 100755 --- a/historien.py +++ b/historien.py @@ -88,7 +88,7 @@ def reussi(message,answer,auteur): print tuple(date) except ThisIsNotADate: return False - as_string="%02d/%02d/%d"%(date[2],date[1],date[0]) + as_string="%02d/%02d/%04d"%(date[2],date[1],date[0]) print as_string if as_string==answer: return True -- 2.39.2