From b2003525a7884ce5096015f4f0bfeae5ae553d18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20=22NeK=22=20Moisy-Mabille?= Date: Mon, 3 Feb 2014 16:52:30 +0100 Subject: [PATCH] =?UTF-8?q?Je=20sais=20pas=20coder=20en=20python=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wiki/macro/BirthDate.py | 1 - 1 file changed, 1 deletion(-) diff --git a/wiki/macro/BirthDate.py b/wiki/macro/BirthDate.py index 68be5156..97dfbaba 100644 --- a/wiki/macro/BirthDate.py +++ b/wiki/macro/BirthDate.py @@ -14,7 +14,6 @@ def execute(macro, text): year, month, day = text.split(",") y, m, d = int(year), int(month), int(day) now = datetime.datetime(*time.localtime()[:6]) - birthdate = now if m==2 and d==29: birthdate = datetime.datetime(now.year, 3, 01) if now.month==2 and now.day==29: