* src/plugins/ImportGeneWeb.py: Fix parsing of baptism date

svn: r7590
This commit is contained in:
Martin Hawlisch 2006-11-09 05:42:47 +00:00
parent e1f45c587b
commit 09d9f01a9d
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
2006-11-08 Martin Hawlisch <Martin.Hawlisch@gmx.de> 2006-11-08 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/date_test.py: Correct import of Date object * src/date_test.py: Correct import of Date object
* src/plugins/ImportGeneWeb.py: Fix parsing of baptism date
2006-11-08 Don Allingham <don@gramps-project.org> 2006-11-08 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: add toolbar buttons, catch edit * src/DataViews/_RelationView.py: add toolbar buttons, catch edit

View File

@ -593,7 +593,7 @@ class GeneWebParser:
idx += 1 idx += 1
elif fields[idx][0] == '!': elif fields[idx][0] == '!':
self.debug("Baptize at: %s" % fields[idx]) 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 idx += 1
elif fields[idx] == '#bp': elif fields[idx] == '#bp':
idx += 1 idx += 1