From e4386609e5ba75a8a308e73b1993c9a330d1a40e Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sun, 8 Oct 2023 22:58:28 +0100 Subject: [PATCH] Fix date modifiers for zh_CN --- gramps/gen/datehandler/_date_zh_CN.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/gen/datehandler/_date_zh_CN.py b/gramps/gen/datehandler/_date_zh_CN.py index df7d4a898af..7adb4cf5f12 100644 --- a/gramps/gen/datehandler/_date_zh_CN.py +++ b/gramps/gen/datehandler/_date_zh_CN.py @@ -59,8 +59,8 @@ class DateParserZH_CN(DateParser): "以前": Date.MOD_BEFORE, "以后": Date.MOD_AFTER, "大约": Date.MOD_ABOUT, - "from": Date.MOD_FROM, - "to": Date.MOD_TO, + "从": Date.MOD_FROM, + "到": Date.MOD_TO, } month_to_int = DateParser.month_to_int