Mike Meyer reports a bug in his patch (several months ago) that
accepts long month names. One essential line was missing. Fixed now.
This commit is contained in:
parent
9ef8635c8c
commit
b08f51b93a
|
@ -833,6 +833,7 @@ def parsedate_tz(data):
|
||||||
if not mm in _monthnames:
|
if not mm in _monthnames:
|
||||||
return None
|
return None
|
||||||
mm = _monthnames.index(mm)+1
|
mm = _monthnames.index(mm)+1
|
||||||
|
if mm > 12: mm = mm - 12
|
||||||
if dd[-1] == ',':
|
if dd[-1] == ',':
|
||||||
dd = dd[:-1]
|
dd = dd[:-1]
|
||||||
i = string.find(yy, ':')
|
i = string.find(yy, ':')
|
||||||
|
|
Loading…
Reference in New Issue