Fix date modifiers for de, nl and sv

This commit is contained in:
Nick Hall 2023-07-11 22:23:07 +01:00
parent e9d67ca008
commit 63abb0a7af
3 changed files with 6 additions and 6 deletions

View File

@ -215,8 +215,8 @@ class DateParserDE(DateParser):
"etwa": Date.MOD_ABOUT, "etwa": Date.MOD_ABOUT,
"circa": Date.MOD_ABOUT, "circa": Date.MOD_ABOUT,
"ca.": Date.MOD_ABOUT, "ca.": Date.MOD_ABOUT,
"from": Date.MOD_FROM, "von": Date.MOD_FROM,
"to": Date.MOD_TO, "bis": Date.MOD_TO,
} }
calendar_to_int = { calendar_to_int = {

View File

@ -92,8 +92,8 @@ class DateParserNL(DateParser):
"ongeveer": Date.MOD_ABOUT, "ongeveer": Date.MOD_ABOUT,
"rond": Date.MOD_ABOUT, "rond": Date.MOD_ABOUT,
"tegen": Date.MOD_ABOUT, "tegen": Date.MOD_ABOUT,
"from": Date.MOD_FROM, "van": Date.MOD_FROM,
"to": Date.MOD_TO, "tot": Date.MOD_TO,
} }
calendar_to_int = { calendar_to_int = {

View File

@ -60,8 +60,8 @@ class DateParserSv(DateParser):
"omkring": Date.MOD_ABOUT, "omkring": Date.MOD_ABOUT,
"ca": Date.MOD_ABOUT, "ca": Date.MOD_ABOUT,
"c:a": Date.MOD_ABOUT, "c:a": Date.MOD_ABOUT,
"from": Date.MOD_FROM, "från": Date.MOD_FROM,
"to": Date.MOD_TO, "till": Date.MOD_TO,
} }
bce = ["f Kr"] bce = ["f Kr"]