OnGame: Fix date regex

Previously assumed that the day was 2 characters, and failed on:

'Fri Sep 3 05:01:22 GMT+0100 2010'

Doh
This commit is contained in:
Worros 2010-09-08 16:05:04 +08:00
parent c3b2e56614
commit 3b55bd19db

View File

@ -111,7 +111,7 @@ class OnGame(HandHistoryConverter):
re_DateTime = re.compile(""" re_DateTime = re.compile("""
[a-zA-Z]{3}\s [a-zA-Z]{3}\s
(?P<M>[a-zA-Z]{3})\s (?P<M>[a-zA-Z]{3})\s
(?P<D>[0-9]{2})\s (?P<D>[0-9]+)\s
(?P<H>[0-9]+):(?P<MIN>[0-9]+):(?P<S>[0-9]+)\s (?P<H>[0-9]+):(?P<MIN>[0-9]+):(?P<S>[0-9]+)\s
(?P<OFFSET>\w+[-+]\d+)\s (?P<OFFSET>\w+[-+]\d+)\s
(?P<Y>[0-9]{4}) (?P<Y>[0-9]{4})