From 8b0cdde640054d0d5b426065fadcabe743fa8567 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Tue, 28 May 2024 17:26:21 +0200 Subject: [PATCH] Some short french month names can not be entered. Fixes #13307 --- gramps/gen/datehandler/_date_fr.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gramps/gen/datehandler/_date_fr.py b/gramps/gen/datehandler/_date_fr.py index 8609d74c453..87afcbf067a 100644 --- a/gramps/gen/datehandler/_date_fr.py +++ b/gramps/gen/datehandler/_date_fr.py @@ -56,8 +56,6 @@ class DateParserFR(DateParser): converted, the text string is assigned. """ - month_to_int = DateParser.month_to_int - modifier_to_int = { "avant": Date.MOD_BEFORE, "av.": Date.MOD_BEFORE, @@ -110,8 +108,6 @@ def init_strings(self): can be coded after DateParser.init_strings(self) call, that way they override stuff from this method. See DateParserRU() as an example. """ - DateParser.init_strings(self) - DateParser.calendar_to_int.update( { "révolutionnaire": Date.CAL_FRENCH, @@ -189,6 +185,8 @@ def init_strings(self): } ) + DateParser.init_strings(self) + # This self._numeric is different from the base # avoid bug gregorian / french calendar conversion (+/-10 days)