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:
@@ -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})
|
||||||
|
|||||||
Reference in New Issue
Block a user