Skip to content
Snippets Groups Projects
Unverified Commit 3488a9aa authored by Tulir Asokan's avatar Tulir Asokan Committed by GitHub
Browse files

Merge pull request #16 from SpiritCroc/one_digit

Allow one-digit hour for german time
parents 6b2a22db c7b32d6c
No related branches found
No related tags found
No related merge requests found
......@@ -134,7 +134,7 @@ locales["de_de"] = Locale(
"don": TH, "fre": FR, "sam": SA, "son": SU,
}, substr=3),
time=RegexMatcher(r"\s?(?:um\s)?"
r"(?P<hour>\d{2})"
r"(?P<hour>\d{1,2})"
r"[:.](?P<minute>\d{2})"
r"(?:[:.](?P<second>\d{2}))?"
r"(?:\s|$)"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment