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