From a1c11cc80f702a393c3f8ac6556f6f62a029d7d4 Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh <bryan.tongminh@gmail.com> Date: Fri, 8 Feb 2008 14:49:00 +0000 Subject: [PATCH] Revert timestamp stuff --- mwclient/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mwclient/client.py b/mwclient/client.py index c314ec6..6d866d6 100644 --- a/mwclient/client.py +++ b/mwclient/client.py @@ -23,8 +23,8 @@ except ImportError: def parse_timestamp(t): if t == '0000-00-00T00:00:00Z': - return (0, 0, 0, 0, 0, 0) - return time.strptime(t, '%Y-%m-%dT%H:%M:%SZ')[:6] + return (0, 0, 0, 0, 0, 0, 0, 0) + return time.strptime(t, '%Y-%m-%dT%H:%M:%SZ') class WaitToken(object): def __init__(self): -- GitLab