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 2, 2024
1 parent 8361567 commit 00cfd15
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions gramps/gui/editors/displaytabs/citationrefmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,38 @@
# 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 00cfd15

Please sign in to comment.