From 63abb0a7af983ca29228f5fa4086d8049608a60e Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Tue, 11 Jul 2023 22:23:07 +0100 Subject: [PATCH] Fix date modifiers for de, nl and sv --- gramps/gen/datehandler/_date_de.py | 4 ++-- gramps/gen/datehandler/_date_nl.py | 4 ++-- gramps/gen/datehandler/_date_sv.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gramps/gen/datehandler/_date_de.py b/gramps/gen/datehandler/_date_de.py index bb8d3050c..1425f7c0e 100644 --- a/gramps/gen/datehandler/_date_de.py +++ b/gramps/gen/datehandler/_date_de.py @@ -215,8 +215,8 @@ class DateParserDE(DateParser): "etwa": Date.MOD_ABOUT, "circa": Date.MOD_ABOUT, "ca.": Date.MOD_ABOUT, - "from": Date.MOD_FROM, - "to": Date.MOD_TO, + "von": Date.MOD_FROM, + "bis": Date.MOD_TO, } calendar_to_int = { diff --git a/gramps/gen/datehandler/_date_nl.py b/gramps/gen/datehandler/_date_nl.py index d5896ed8b..55abbefd9 100644 --- a/gramps/gen/datehandler/_date_nl.py +++ b/gramps/gen/datehandler/_date_nl.py @@ -92,8 +92,8 @@ class DateParserNL(DateParser): "ongeveer": Date.MOD_ABOUT, "rond": Date.MOD_ABOUT, "tegen": Date.MOD_ABOUT, - "from": Date.MOD_FROM, - "to": Date.MOD_TO, + "van": Date.MOD_FROM, + "tot": Date.MOD_TO, } calendar_to_int = { diff --git a/gramps/gen/datehandler/_date_sv.py b/gramps/gen/datehandler/_date_sv.py index 99ea3a12c..620a6feba 100644 --- a/gramps/gen/datehandler/_date_sv.py +++ b/gramps/gen/datehandler/_date_sv.py @@ -60,8 +60,8 @@ class DateParserSv(DateParser): "omkring": Date.MOD_ABOUT, "ca": Date.MOD_ABOUT, "c:a": Date.MOD_ABOUT, - "from": Date.MOD_FROM, - "to": Date.MOD_TO, + "från": Date.MOD_FROM, + "till": Date.MOD_TO, } bce = ["f Kr"]