Fixed handling of AFT in dates in non-English environments
svn: r959
This commit is contained in:
parent
a48503a105
commit
3ac748eeb2
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user