3728: Daterange with cformat doesn't XML-import
svn: r14865
This commit is contained in:
parent
85cda5069b
commit
10a8de8f1f
@ -1748,7 +1748,7 @@ class GrampsParser(UpdateCallback):
|
||||
rng_day = 0
|
||||
|
||||
if "cformat" in attrs:
|
||||
cal = gen.lib.Date.calendar_names.index(attrs['calendar'])
|
||||
cal = gen.lib.Date.calendar_names.index(attrs['cformat'])
|
||||
else:
|
||||
cal = gen.lib.Date.CAL_GREGORIAN
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user