From 405198db3bc5723d1139659e9de7c9ef72cbbc5b Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 24 Apr 2008 01:06:33 +0000 Subject: [PATCH] 0002106: Date pasting with leading spaces svn: r10636 --- src/DateHandler/_DateParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DateHandler/_DateParser.py b/src/DateHandler/_DateParser.py index 32e03395e..58db01b6e 100644 --- a/src/DateHandler/_DateParser.py +++ b/src/DateHandler/_DateParser.py @@ -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