Open ajfclark opened 7 years ago
Todoist doesn't specify, when a task repeats. It just sends the unparsed date string, that the user inputted. So we would have to parse it as well to figure out exactly where what belongs. For now it might be better to get dailies and weeklies as they are now and make everything else into a todo.
And that doesn't even address the lack of support for other languages (since todoist sends them in the language of the user as well).
Something like this would work. But I'm sure there are special cases left: https://regex101.com/r/xUnNAT/8
I have a couple of yearly tasks in todoist, something like
Pay Insurance every Sept 28
. Each of them sync into Habitica a daily, not a to-do entry.I also tried
Pay Insurance yearly on Sept 28
but they also appeared as a daily.