Fixed year handling
svn: r595
This commit is contained in:
parent
f99a5e9e2d
commit
97708a4052
@ -896,7 +896,11 @@ class SingleDate:
|
|||||||
self.day = int(string.replace(val,',',''))
|
self.day = int(string.replace(val,',',''))
|
||||||
else:
|
else:
|
||||||
self.day = UNDEF
|
self.day = UNDEF
|
||||||
self.setYearVal(matches[3])
|
val = matches[3]
|
||||||
|
if val:
|
||||||
|
self.setYearVal(matches[3])
|
||||||
|
else:
|
||||||
|
self.setYearVal(UNDEF)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
match = SingleDate.fmt4.match(text)
|
match = SingleDate.fmt4.match(text)
|
||||||
|
Loading…
Reference in New Issue
Block a user