From a09e1818c7209328994916dd8791a30eb96dd937 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 7 Dec 2005 18:08:30 +0000 Subject: [PATCH] * src/DateDisplay.py (_display_gregorian): Replace dashes with slashes to prevent collision with the ISO format. svn: r5497 --- gramps2/ChangeLog | 4 ++++ gramps2/src/DateDisplay.py | 1 + 2 files changed, 5 insertions(+) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 8f42cece2..0002d9f7a 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2005-12-07 Alex Roitman + * src/DateDisplay.py (_display_gregorian): Replace dashes with + slashes to prevent collision with the ISO format. + 2005-12-07 Don Allingham * src/plugins/NavWebPage.py: restore .tar.gz archive option diff --git a/gramps2/src/DateDisplay.py b/gramps2/src/DateDisplay.py index 46e0c0803..b57a63934 100644 --- a/gramps2/src/DateDisplay.py +++ b/gramps2/src/DateDisplay.py @@ -228,6 +228,7 @@ class DateDisplay: value = self._tformat.replace('%m',str(date_val[1])) value = value.replace('%d',str(date_val[0])) value = value.replace('%Y',str(abs(date_val[2]))) + value = value.replace('-','/') elif self.format == 2: # Month Day, Year if date_val[0] == 0: