mirror of
https://git.webmeisterei.com/webmeisterei/todoist-taskwarrior.git
synced 2023-12-21 10:23:00 +01:00
Fix parse error 'every hour' -> 'hourly' recurrence
This commit is contained in:
parent
ef26faa356
commit
a2cb6b7887
@ -11,6 +11,7 @@ def test_hourly():
|
||||
assert utils.parse_recur('every 1 hour') == 'hourly'
|
||||
assert utils.parse_recur('every 2 hour') == '2 hours'
|
||||
assert utils.parse_recur('every 2 hours') == '2 hours'
|
||||
assert utils.parse_recur('every 3 hour') == '3 hours'
|
||||
assert utils.parse_recur('every 3 hours') == '3 hours'
|
||||
|
||||
|
||||
|
@ -111,7 +111,7 @@ RE_SPECIAL = re.compile(
|
||||
|
||||
|
||||
PERIOD_TO_SIMPLE = {
|
||||
'hour': 'hour',
|
||||
'hour': 'hourly',
|
||||
'day': 'daily',
|
||||
'week': 'weekly',
|
||||
'month': 'monthly',
|
||||
|
Loading…
Reference in New Issue
Block a user