diff --git a/tests/test_recur.py b/tests/test_recur.py index 6e398dc..1bafb82 100644 --- a/tests/test_recur.py +++ b/tests/test_recur.py @@ -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' diff --git a/todoist_taskwarrior/utils.py b/todoist_taskwarrior/utils.py index 5cbcf3f..49a5fbb 100644 --- a/todoist_taskwarrior/utils.py +++ b/todoist_taskwarrior/utils.py @@ -111,7 +111,7 @@ RE_SPECIAL = re.compile( PERIOD_TO_SIMPLE = { - 'hour': 'hour', + 'hour': 'hourly', 'day': 'daily', 'week': 'weekly', 'month': 'monthly',