Skip to content
This repository was archived by the owner on Sep 3, 2018. It is now read-only.

due: is changing to Due: #78

Open
grrlguide opened this issue Jan 26, 2015 · 1 comment
Open

due: is changing to Due: #78

grrlguide opened this issue Jan 26, 2015 · 1 comment

Comments

@grrlguide
Copy link

Tested twice now: found that several entries in todo.txt automatically, without human intervention, changed due: to Due: in todo.txt file, rendering file out of line with official apps, which require lower case "due:" Does not seem to happen except overnight, when file not in use. I also open the file with Simpletext (Android) but that does not seem to be the culprit.

@MartinSGill
Copy link
Owner

Unfortunately the standard isn't clear:
https://github.com/ginatrapani/todo.txt-cli/wiki/The-Todo.txt-Format

If you look in the bottom two sections due dates are written in two different formats:

due:2010-01-02
DUE:2006-08-01

This is why TodoTxtJs does only lower-case comparisons, but always re-uses the actual value it received.

You can try it. due:2015-05-05, Due:2015-05-05, DUE:2015-05-05 are all detected as due and all retain their original casing when you export or view the actual text.

I don't believe TodoTxtJs is your culprit. If you still believe it to be TodoTxtJs could you try to narrow down a scenario I can reproduce please, as I've been unable to find one myself.

@MartinSGill MartinSGill modified the milestone: 1.6.0 Jan 31, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants