lazeroffmichael / ticktick-py

Unofficial TickTick API

Home Page:https://lazeroffmichael.github.io/ticktick-py/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not clear Due date

jbarba4 opened this issue · comments

I have tried modifying every combination of startDate and dueDate, but I can't get the dates to actually clear on a task. I can change it to a new date, but how do I remove the date entirely? I have tried:

task['startDate'] = ""
task['startDate'] = None
task['startDate'] = 0
del task['startDate']

task['dueDate'] = ""
task['dueDate'] = None
task['dueDate'] = 0
del task['dueDate']

All other updates (ie, Title, content) seem to stick. The new updated task returned by client.task.update(task) has all the right values except the dates. They remain uncleared.

Is there a magic way to clear the date that I'm not finding?