From 1d920b6c892476a8ccd0cfc6e46b759ad9533ce6 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Tue, 11 Jul 2023 21:24:31 +0100 Subject: [PATCH] Fix Portuguese "from" and "to" date modifiers --- gramps/gen/datehandler/_date_pt.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gramps/gen/datehandler/_date_pt.py b/gramps/gen/datehandler/_date_pt.py index 65cefe313..f9715ee90 100644 --- a/gramps/gen/datehandler/_date_pt.py +++ b/gramps/gen/datehandler/_date_pt.py @@ -54,7 +54,6 @@ class DateParserPT(DateParser): "antes": Date.MOD_BEFORE, "ant.": Date.MOD_BEFORE, "ant": Date.MOD_BEFORE, - "até": Date.MOD_BEFORE, "depois de": Date.MOD_AFTER, "depois": Date.MOD_AFTER, "dep.": Date.MOD_AFTER, @@ -70,8 +69,8 @@ class DateParserPT(DateParser): "por volta de": Date.MOD_ABOUT, "por volta": Date.MOD_ABOUT, "pvd.": Date.MOD_ABOUT, - "from": Date.MOD_FROM, - "to": Date.MOD_TO, + "de": Date.MOD_FROM, + "até": Date.MOD_TO, } calendar_to_int = {