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:
Guido van Rossum 1999-04-29 12:50:36 +00:00
parent 9ef8635c8c
commit b08f51b93a

View file

@ -833,6 +833,7 @@ def parsedate_tz(data):
if not mm in _monthnames:
return None
mm = _monthnames.index(mm)+1
if mm > 12: mm = mm - 12
if dd[-1] == ',':
dd = dd[:-1]
i = string.find(yy, ':')