0002106: Date pasting with leading spaces

svn: r10636
This commit is contained in:
Doug Blank 2008-04-24 01:06:33 +00:00
parent e580d5b855
commit 405198db3b

View File

@ -570,7 +570,7 @@ class DateParser:
"""
Parses the text and sets the date according to the parsing.
"""
text = text.strip() # otherwise spaces can make it a bad date
date.set_text_value(text)
qual = Date.QUAL_NONE
cal = Date.CAL_GREGORIAN