From d6f9793dc143fe2d047501b2ce40967e8a21e8c0 Mon Sep 17 00:00:00 2001 From: Tulir Asokan <tulir@maunium.net> Date: Sun, 12 Feb 2023 12:50:20 +0200 Subject: [PATCH] Update fi_fi locale --- reminder/locales.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reminder/locales.py b/reminder/locales.py index 8a106f4..1b289a1 100644 --- a/reminder/locales.py +++ b/reminder/locales.py @@ -99,7 +99,7 @@ locales["fi_fi"] = Locale( "ma": MO, "ti": TU, "ke": WE, "to": TH, "pe": FR, "la": SA, "su": SU, }, substr=2), time=RegexMatcher(r"\s?(?:ke?ll?o\.?\s)?" - r"(?P<hour>\d{2})" + r"(?P<hour>\d{1,2})" r"[:.](?P<minute>\d{2})" r"(?:[:.](?P<second>\d{2}))?" r"(?:\s|$)"), -- GitLab