Fixed handling of AFT in dates in non-English environments

svn: r959
This commit is contained in:
Don Allingham 2002-05-05 13:51:04 +00:00
parent 4c8c7d2a54
commit 95ea16a432

View File

@ -357,7 +357,8 @@ class SingleDate:
"bef" : before, "bef." : before,
"aft." : after, "abt." : about,
"est." : about, "est" : about,
"after" : after, "before": before
"after" : after, "before": before,
"aft" : after,
}
modifiers = '(' + \
@ -398,7 +399,7 @@ class SingleDate:
self.calendar = GREGORIAN
def setMode(self,val):
if val == None:
if not val:
self.mode = SingleDate.exact
else:
try: