From a13a0e1fcd997ea58ba68a77376085daf71f4e26 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 19 Mar 2010 01:20:31 +0000 Subject: [PATCH] 3728: Daterange with cformat doesn't XML-import svn: r14866 --- src/plugins/import/ImportXml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/import/ImportXml.py b/src/plugins/import/ImportXml.py index 3ca00efbe..1ea4dfe5f 100644 --- a/src/plugins/import/ImportXml.py +++ b/src/plugins/import/ImportXml.py @@ -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