0002106: Date pasting with leading spaces
svn: r10636
This commit is contained in:
parent
e580d5b855
commit
405198db3b
@ -570,7 +570,7 @@ class DateParser:
|
|||||||
"""
|
"""
|
||||||
Parses the text and sets the date according to the parsing.
|
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)
|
date.set_text_value(text)
|
||||||
qual = Date.QUAL_NONE
|
qual = Date.QUAL_NONE
|
||||||
cal = Date.CAL_GREGORIAN
|
cal = Date.CAL_GREGORIAN
|
||||||
|
Loading…
Reference in New Issue
Block a user