Skip to content

Commit

Permalink
Fix display of invalid dates in editor citation tabs
Browse files Browse the repository at this point in the history
Fixes #13192.
  • Loading branch information
Nick-Hall committed Mar 21, 2024
1 parent 3f13804 commit e3acd82
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions gramps/gui/editors/displaytabs/citationrefmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,37 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#


# -------------------------------------------------------------------------
#
# Python
#
# -------------------------------------------------------------------------
from html import escape


# -------------------------------------------------------------------------
#
# GTK libraries
#
# -------------------------------------------------------------------------
from gi.repository import Gtk
from gramps.gen.config import config
from gramps.gen.utils.string import conf_strings
from gramps.gen.datehandler import get_date, get_date_valid
from gramps.gen.const import GRAMPS_LOCALE as glocale

_ = glocale.translation.gettext


# -------------------------------------------------------------------------
#
# Globals
#
# -------------------------------------------------------------------------
invalid_date_format = config.get("preferences.invalid-date-format")


# -------------------------------------------------------------------------
#
# CitationModel
Expand Down

0 comments on commit e3acd82

Please sign in to comment.