todoist icon indicating copy to clipboard operation
todoist copied to clipboard

Is there a way to remove a due date from a task from this CLI?

Open chrisshroba opened this issue 6 years ago • 4 comments

I've tried the following:

todoist m <task id> -d "never"
todoist m <task id> -d "none"
todoist m <task id> -d "no due date"

Is there any way to remove a due date from a task?

chrisshroba avatar Nov 08 '18 15:11 chrisshroba

I found the "null" due date in the source code, but it still has a bug: After marking a task's due date as null, it shows as having no due date in the web UI, but this todoist CLI still shows it having a due date, equal to the last scheduled due date at 23:59: image

The web UI shows the history correctly: image

chrisshroba avatar Nov 08 '18 16:11 chrisshroba

It looks like the CLI has this issue for any tasks which had a due date at one point but which was subsequently removed, even if the whole process was done elsewhere (e.g. in the web UI). The tasks show a due date of 23:59 on the last assigned date instead of having no date.

chrisshroba avatar Nov 08 '18 17:11 chrisshroba

I'm experiencing the same problem...

wizeman avatar Feb 11 '19 14:02 wizeman

It looks like the CLI has this issue for any tasks which had a due date at one point but which was subsequently removed, even if the whole process was done elsewhere (e.g. in the web UI). The tasks show a due date of 23:59 on the last assigned date instead of having no date.

Assuming you are referring to issue #68, I think PR #70 which I just submitted should fix that issue.

wizeman avatar Mar 15 '19 21:03 wizeman