BF: Typo in "z" regex addition for TimeRE

pull/581/head
Steven Hiscocks 2014-01-12 19:09:11 +00:00
parent 5c16ac3a89
commit d41f372c6c
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ from .mytime import MyTime
locale_time = LocaleTime() locale_time = LocaleTime()
timeRE = TimeRE() timeRE = TimeRE()
if 'z' not in timeRE: # python2.6 not present 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): def reGroupDictStrptime(found_dict):
"""This is tweaked from python built-in _strptime""" """This is tweaked from python built-in _strptime"""