todoist-habitrpg icon indicating copy to clipboard operation
todoist-habitrpg copied to clipboard

Yearly todoist entry created as daily in habitica

Open ajfclark opened this issue 8 years ago • 2 comments

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.

ajfclark avatar Sep 17 '16 22:09 ajfclark

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).

mchlnix avatar Dec 05 '16 20:12 mchlnix

Something like this would work. But I'm sure there are special cases left: https://regex101.com/r/xUnNAT/8

mchlnix avatar Dec 05 '16 21:12 mchlnix