From b6919839b3edb558a9e0bd08ecf30dc3aec650fd Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 26 May 2001 15:21:22 +0000 Subject: [PATCH] Fixed date save format, fixed parsing of embedded URL's svn: r63 --- src/Date.py | 4 ++-- src/GrampsParser.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Date.py b/src/Date.py index 3088a7008..391c59266 100644 --- a/src/Date.py +++ b/src/Date.py @@ -120,11 +120,11 @@ class Date: #-------------------------------------------------------------------- def getSaveDate(self): if self.range == 1: - return "FROM " + self.start.getFmt3() + " TO " + self.stop.getFmt3() + return "FROM " + self.start.getSaveDate() + " TO " + self.stop.getSaveDate() elif self.range == -1: return self.text else: - return self.start.getFmt3() + return self.start.getSaveDate() def isEmpty(self): if self.start.year == -1 and self.start.month == -1 and self.start.day == -1: diff --git a/src/GrampsParser.py b/src/GrampsParser.py index b0da5d53e..816aa9d4a 100644 --- a/src/GrampsParser.py +++ b/src/GrampsParser.py @@ -770,7 +770,7 @@ class GrampsParser(handler.ContentHandler): "suffix" : (None, stop_suffix), "title" : (None, stop_title), "uid" : (None, stop_uid), - "url" : (None, start_url) + "url" : (start_url, None) } #---------------------------------------------------------------------