From 091caed2345536ffffe256da05123ea9893ded2f Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Tue, 21 Jun 2016 14:16:12 -0700 Subject: [PATCH] 9537: Wrong Numeric date format for cs_CZ locale --- gramps/gen/datehandler/_date_cs.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps/gen/datehandler/_date_cs.py b/gramps/gen/datehandler/_date_cs.py index 957ee098e..39ddbba58 100644 --- a/gramps/gen/datehandler/_date_cs.py +++ b/gramps/gen/datehandler/_date_cs.py @@ -225,7 +225,10 @@ class DateDisplayCZ(DateDisplay): display = DateDisplay.display_formatted - def orig_display(self, date): + # bug 9537 _grampslocale.py gets '%-d.%-m.%Y' and makes it be '%/d.%/m.%Y' + _tformat = DateDisplay._tformat.replace('/', '') # so counteract that + + def orig_display(self, date): # unused: only here for historical reference """ Return a text string representing the date. """