5 ms·
Thanks for a detailed reply. Taskwarrior looks interesting will explore more. From what I see it seems to be pushing the limit of todo.txt file format by havi
by vivekv 7y ago
Thanks for a detailed reply. Taskwarrior looks interesting will explore more. From what I see it seems to be pushing the limit of todo.txt file format by having all the different types of date formats. Does that mean that typical clients such as simpletask (Android) won't work with these todo.txt files? I have made sure I never touch the todo.txt file so all existing tools work fine while I track everything in tickler.txt
- westurner 7y agoIDK how well simpletask handles the date formats that TaskWarrior supports. I just found simpletask-taskwarrior [1] which appears to use nl.mpcjanssen.simpletask.sort.DateComparator [2] (which calls hirondelle.date4j.DateTime.compareTo [3] ) for the date fields of TaskWarrior tasks. Obviously, neither ISO8601 sort nor ASCII sort can correctly sort "tomorrow" or "weekly" with "2101-10-31". TaskWarrior recurring tasks have a parent template that presumably zero todo.txt tools can at all handle. Not even Markor. [1] https://github.com/mpcjanssen/simpletask-taskwarrior/blob/master/app/src/main/java/nl/mpcjanssen/simpletask/remote/TaskWarrior.kt https://github.com/mpcjanssen/simpletask-taskwarrior/blob/ma... [2] https://github.com/mpcjanssen/simpletask-taskwarrior/blob/master/app/src/main/java/nl/mpcjanssen/simpletask/sort/DateComparator.kt https://github.com/mpcjanssen/simpletask-taskwarrior/blob/ma... [3] https://github.com/IanDarwin/date4j/blob/master/src/main/java/hirondelle/date4j/DateTime.java#L1241 https://github.com/IanDarwin/date4j/blob/master/src/main/jav... Ctrl-F only finds one mention of "todo.txt" in https://taskwarrior.org/tools/ https://taskwarrior.org/tools/