Skip to content

Commit

Permalink
Add missing suffix to German timedelta regex
Browse files Browse the repository at this point in the history
Closes #14
  • Loading branch information
tulir committed Aug 15, 2020
1 parent 1308e64 commit 6ebfc8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reminder/locales.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@
rf"(?:(?P<days>{number})\s?tag(?:en)?{td_sep_de})?"
rf"(?:(?P<hours>{number})\s?stunden?{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(
r"(?P<day>\d{1,2})\.(?P<month>\d{1,2})\.(?P<year>\d{2}(?:\d{2})?)(?:\s|$)"),
weekday=WeekdayMatcher(pattern=r"(?:heute"
Expand Down

0 comments on commit 6ebfc8c

Please sign in to comment.