Bug #3097: Dates parsed after a .gw import should not use Julian calendar; Changed None to 0
svn: r12822
This commit is contained in:
parent
acfb0c8344
commit
22c68abd6e
@ -821,7 +821,7 @@ class GeneWebParser(object):
|
|||||||
cal1 = _cal_map.get(groups[2],gen.lib.Date.CAL_GREGORIAN)
|
cal1 = _cal_map.get(groups[2],gen.lib.Date.CAL_GREGORIAN)
|
||||||
sub1 = self.sub_date(groups[1])
|
sub1 = self.sub_date(groups[1])
|
||||||
date.set(gen.lib.Date.QUAL_NONE,mod, cal1,
|
date.set(gen.lib.Date.QUAL_NONE,mod, cal1,
|
||||||
(sub1[0],sub1[1],sub1[2],None,sub2[0],sub2[1],sub2[2],None))
|
(sub1[0],sub1[1],sub1[2],0,sub2[0],sub2[1],sub2[2],0))
|
||||||
return date
|
return date
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user