BF: Typo in "z" regex addition for TimeRE

pull/581/head
Steven Hiscocks 11 years ago
parent 5c16ac3a89
commit d41f372c6c

@ -27,7 +27,7 @@ from .mytime import MyTime
locale_time = LocaleTime()
timeRE = TimeRE()
if 'z' not in timeRE: # python2.6 not present
timeRE['z'] = r"(?P<z>[+-]\d{2}[-5]\d)"
timeRE['z'] = r"(?P<z>[+-]\d{2}[0-5]\d)"
def reGroupDictStrptime(found_dict):
"""This is tweaked from python built-in _strptime"""

Loading…
Cancel
Save