Je sais pas coder en python…

This commit is contained in:
Kévin "NeK" Moisy-Mabille 2014-02-03 16:52:30 +01:00
parent 1bb4c8402b
commit b2003525a7

View file

@ -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: