Skip to content

Commit

Permalink
Some short french month names can not be entered.
Browse files Browse the repository at this point in the history
Fixes #13307
  • Loading branch information
SNoiraud committed May 28, 2024
1 parent 022dc49 commit 49eaa6f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions gramps/gen/datehandler/_date_fr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 49eaa6f

Please sign in to comment.