Skip to content

Commit

Permalink
Fix German date handler for reports
Browse files Browse the repository at this point in the history
Date displayers have an associated locale which can cause problems
if more then one locale uses the same handler.

Fixes #13312.
  • Loading branch information
Nick-Hall committed Jan 9, 2025
1 parent 785c739 commit b68809e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion gramps/gen/datehandler/_date_de.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,4 +441,14 @@ def display(self, date):
DateParserDE,
DateDisplayDE,
)
register_datehandler(("de_AT", ("%d.%m.%Y",)), DateParserDE, DateDisplayDE)


class DateParserDE_AT(DateParserDE):
pass


class DateDisplayDE_AT(DateDisplayDE):
pass


register_datehandler(("de_AT", ("%d.%m.%Y",)), DateParserDE_AT, DateDisplayDE_AT)

0 comments on commit b68809e

Please sign in to comment.