From 10a8de8f1f71c70f5bfd7347c0683d6f91e42d42 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 19 Mar 2010 01:19:29 +0000 Subject: [PATCH] 3728: Daterange with cformat doesn't XML-import svn: r14865 --- 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