Closed ptosi closed 3 years ago
I'm confused as well, and here are two more lines that add to the confusion (emphasis mine):
Optional -- Creation date (must be specified if completion date is)
If you’ve prepended the creation date to your task, on completion it will appear directly after the completion date.
So far we have:
x
)Now, what happens when I complete the task call mom
(nothing more on the todo.txt line, especially no creation date, as it is optional)?
x 2019-07-03 call mom
x 2019-07-03 ????-??-?? call mom
My take, which does not perfectly match the spec (no logical interpretation can, in my opinion) is that:
call mom
: when incomplete, no date is required2019-07-01 call mom
: the provided date is the creation datex 2019-07-03 call mom
: the provided date is the completion datex 2019-07-03 2019-07-01 call mom
: the provided dates are, in order, completion then creation2019-07-03 2019-07-01 call mom
: the task is incomplete, so can't have a completion datex call mom
: a completed task needs at least a completion dateMy personal interpretation states that completion date is required when a task is complete. Some people might be happy to just x
out a completed task without having to input more text.
The illustration of the
todo.txt
format stateswhile the definition of the format for complete tasks states that the completion date is required:
Therefore, is the "Optional" supposed to mean "depending on the completion status of the task" or is this a discrepancy? In particular, can a complete task omit its completion date?