Bug #3097: Dates parsed after a .gw import should not use Julian calendar; Changed None to 0

svn: r12822
This commit is contained in:
Doug Blank 2009-07-20 06:48:40 +00:00
parent acfb0c8344
commit 22c68abd6e

View File

@ -821,7 +821,7 @@ class GeneWebParser(object):
cal1 = _cal_map.get(groups[2],gen.lib.Date.CAL_GREGORIAN)
sub1 = self.sub_date(groups[1])
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
else:
return None