mirror of
https://git.webmeisterei.com/webmeisterei/todoist-taskwarrior.git
synced 2023-12-21 10:23:00 +01:00
No isoformat. :/
This commit is contained in:
parent
3b2d291902
commit
6a0792a3ed
@ -388,7 +388,7 @@ def _ti_update_task(tw_task, ti_project_list):
|
|||||||
# taskwarrior doesn't like status=waiting
|
# taskwarrior doesn't like status=waiting
|
||||||
del(tw_task['status'])
|
del(tw_task['status'])
|
||||||
|
|
||||||
tw_task['todoist_sync'] = datetime.datetime.now().isoformat()
|
tw_task['todoist_sync'] = datetime.datetime.now()
|
||||||
taskwarrior.task_update(tw_task)
|
taskwarrior.task_update(tw_task)
|
||||||
else:
|
else:
|
||||||
# Always set latest sync time so no more sync accures
|
# Always set latest sync time so no more sync accures
|
||||||
@ -400,7 +400,7 @@ def _ti_update_task(tw_task, ti_project_list):
|
|||||||
if tw_task['status'] == 'waiting':
|
if tw_task['status'] == 'waiting':
|
||||||
del(tw_task['status'])
|
del(tw_task['status'])
|
||||||
|
|
||||||
tw_task['todoist_sync'] = datetime.datetime.now().isoformat()
|
tw_task['todoist_sync'] = datetime.datetime.now()
|
||||||
taskwarrior.task_update(tw_task)
|
taskwarrior.task_update(tw_task)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user