Fixed handling of AFT in dates in non-English environments
svn: r959
This commit is contained in:
parent
4c8c7d2a54
commit
95ea16a432
@ -357,7 +357,8 @@ class SingleDate:
|
|||||||
"bef" : before, "bef." : before,
|
"bef" : before, "bef." : before,
|
||||||
"aft." : after, "abt." : about,
|
"aft." : after, "abt." : about,
|
||||||
"est." : about, "est" : about,
|
"est." : about, "est" : about,
|
||||||
"after" : after, "before": before
|
"after" : after, "before": before,
|
||||||
|
"aft" : after,
|
||||||
}
|
}
|
||||||
|
|
||||||
modifiers = '(' + \
|
modifiers = '(' + \
|
||||||
@ -398,7 +399,7 @@ class SingleDate:
|
|||||||
self.calendar = GREGORIAN
|
self.calendar = GREGORIAN
|
||||||
|
|
||||||
def setMode(self,val):
|
def setMode(self,val):
|
||||||
if val == None:
|
if not val:
|
||||||
self.mode = SingleDate.exact
|
self.mode = SingleDate.exact
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user