diff --git a/gramps/gen/datehandler/_datedisplay.py b/gramps/gen/datehandler/_datedisplay.py index 3b3b81bdd..d33f43fb6 100644 --- a/gramps/gen/datehandler/_datedisplay.py +++ b/gramps/gen/datehandler/_datedisplay.py @@ -553,6 +553,8 @@ class DateDisplay: return str(date_val[2]) else: value = self._tformat.replace('%m', str(date_val[1])) + # some locales have %b for the month, e.g. ar_EG, is_IS, nb_NO + value = value.replace('%b', str(date_val[1])) if date_val[0] == 0: # ignore the zero day and its delimiter i_day = value.find('%d') value = value.replace(value[i_day:i_day+3], '')