3728: Daterange with cformat doesn't XML-import

svn: r14866
This commit is contained in:
Doug Blank 2010-03-19 01:20:31 +00:00
parent b23abf392b
commit a13a0e1fcd

View File

@ -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