mirror of
https://github.com/vale981/wunderlist-to-org
synced 2025-03-05 09:11:38 -05:00
implement starred
This commit is contained in:
parent
284785124e
commit
850b0451a2
2 changed files with 5 additions and 2 deletions
|
@ -187,7 +187,9 @@ def convert_wunderlist_task(writer, task):
|
||||||
title, tags = convert_wunderlist_title(task["title"])
|
title, tags = convert_wunderlist_title(task["title"])
|
||||||
writer.emit_node(
|
writer.emit_node(
|
||||||
title,
|
title,
|
||||||
todo_state="todo" if task["completed"] else "done",
|
todo_state="next"
|
||||||
|
if task["starred"]
|
||||||
|
else ("todo" if task["completed"] else "done"),
|
||||||
timestamp=parse_wunderlist_date(task["dueDate"]),
|
timestamp=parse_wunderlist_date(task["dueDate"]),
|
||||||
timestamp_type="deadline",
|
timestamp_type="deadline",
|
||||||
tags=tags,
|
tags=tags,
|
||||||
|
|
|
@ -3,12 +3,13 @@
|
||||||
A little script to convert the wunderlist export format to org mode.
|
A little script to convert the wunderlist export format to org mode.
|
||||||
It currently supports:
|
It currently supports:
|
||||||
|
|
||||||
- Todo states
|
- Todo states (~TODO~ and ~DONE~, starred becomes ~NEXT~)
|
||||||
- Comments
|
- Comments
|
||||||
- Metadata
|
- Metadata
|
||||||
- Reminders
|
- Reminders
|
||||||
- Comments
|
- Comments
|
||||||
- File Attachments
|
- File Attachments
|
||||||
|
- Tags
|
||||||
|
|
||||||
** Usage
|
** Usage
|
||||||
Extract the wunderlist export and then just point the script to the ~Tasks.json~ file.
|
Extract the wunderlist export and then just point the script to the ~Tasks.json~ file.
|
||||||
|
|
Loading…
Add table
Reference in a new issue