From 09d9f01a9d5a4b337f6c864356e42b5adf45292e Mon Sep 17 00:00:00 2001 From: Martin Hawlisch Date: Thu, 9 Nov 2006 05:42:47 +0000 Subject: [PATCH] * src/plugins/ImportGeneWeb.py: Fix parsing of baptism date svn: r7590 --- ChangeLog | 1 + src/plugins/ImportGeneWeb.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e5f06c298..c7b7dd6f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2006-11-08 Martin Hawlisch * src/date_test.py: Correct import of Date object + * src/plugins/ImportGeneWeb.py: Fix parsing of baptism date 2006-11-08 Don Allingham * src/DataViews/_RelationView.py: add toolbar buttons, catch edit diff --git a/src/plugins/ImportGeneWeb.py b/src/plugins/ImportGeneWeb.py index a78100600..66fcf2fe9 100644 --- a/src/plugins/ImportGeneWeb.py +++ b/src/plugins/ImportGeneWeb.py @@ -593,7 +593,7 @@ class GeneWebParser: idx += 1 elif fields[idx][0] == '!': self.debug("Baptize at: %s" % fields[idx]) - bapt_date = self.parse_date(self.decode(fields[idx])) + bapt_date = self.parse_date(self.decode(fields[idx][1:])) idx += 1 elif fields[idx] == '#bp': idx += 1