Open mstmob opened 1 year ago
Indeed, we should allow dates here. I think _validate_start_date_param
should return Tuple[bool, datetime] | Tuple[bool, date] | None
(it currently returns Tuple[bool, datetime] | None
).
The docs should also definitely reflect the before/after usage.
todo list --start before 2023-03-01
results in the following error:It works as expected if the time is specified, i.e.:
todo list --start before 2023-03-01T10:00
Proposal: The start parameter should fallback to a default time, i.e. "00:00:00".
Furthermore the
--start
parameter should be documented correctly: Currently no[before|after]
is described in the documentation and zsh completion.Version:
todoman, version 4.2.1