diff --git a/gramps/gen/datehandler/_date_ca.py b/gramps/gen/datehandler/_date_ca.py index c97fe5d98..7e93e6837 100644 --- a/gramps/gen/datehandler/_date_ca.py +++ b/gramps/gen/datehandler/_date_ca.py @@ -66,8 +66,8 @@ class DateParserCA(DateParser): "cap a": Date.MOD_ABOUT, "al voltant": Date.MOD_ABOUT, "al voltant de": Date.MOD_ABOUT, - "from": Date.MOD_FROM, - "to": Date.MOD_TO, + "des de": Date.MOD_FROM, + "fins": Date.MOD_TO, } calendar_to_int = { diff --git a/gramps/gen/datehandler/_date_uk.py b/gramps/gen/datehandler/_date_uk.py index e17c8cd41..cced9c79d 100644 --- a/gramps/gen/datehandler/_date_uk.py +++ b/gramps/gen/datehandler/_date_uk.py @@ -57,7 +57,6 @@ class DateParserUK(DateParser): # modifiers before the date modifier_to_int = { "перед": Date.MOD_BEFORE, - "до": Date.MOD_BEFORE, "раніше": Date.MOD_BEFORE, "після": Date.MOD_AFTER, "п.": Date.MOD_AFTER, @@ -68,8 +67,8 @@ class DateParserUK(DateParser): "близько": Date.MOD_ABOUT, "бл.": Date.MOD_ABOUT, "біля": Date.MOD_ABOUT, - "from": Date.MOD_FROM, - "to": Date.MOD_TO, + "від": Date.MOD_FROM, + "до": Date.MOD_TO, } quality_to_int = {