Skip to content
Snippets Groups Projects
Commit 6ebfc8ca authored by Tulir Asokan's avatar Tulir Asokan
Browse files

Add missing suffix to German timedelta regex

Closes #14
parent 1308e648
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,8 @@ locales["de_de"] = Locale( ...@@ -115,7 +115,8 @@ locales["de_de"] = Locale(
rf"(?:(?P<days>{number})\s?tag(?:en)?{td_sep_de})?" rf"(?:(?P<days>{number})\s?tag(?:en)?{td_sep_de})?"
rf"(?:(?P<hours>{number})\s?stunden?{td_sep_de})?" rf"(?:(?P<hours>{number})\s?stunden?{td_sep_de})?"
rf"(?:(?P<minutes>{number})\s?minuten?{td_sep_de})?" rf"(?:(?P<minutes>{number})\s?minuten?{td_sep_de})?"
rf"(?:(?P<seconds>{number})\s?sekunden?)?"), rf"(?:(?P<seconds>{number})\s?sekunden?)?"
r"(?:\s|$)"),
date=ShortYearMatcher( date=ShortYearMatcher(
r"(?P<day>\d{1,2})\.(?P<month>\d{1,2})\.(?P<year>\d{2}(?:\d{2})?)(?:\s|$)"), r"(?P<day>\d{1,2})\.(?P<month>\d{1,2})\.(?P<year>\d{2}(?:\d{2})?)(?:\s|$)"),
weekday=WeekdayMatcher(pattern=r"(?:heute" weekday=WeekdayMatcher(pattern=r"(?:heute"
......
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