Skip to content

Commit

Permalink
Update Capture_FetchTasksFromTodoist.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chhoumann authored Jun 26, 2021
1 parent d581f48 commit ef3e148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Examples/Capture_FetchTasksFromTodoist.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function closeSelectedTasks(app, selectedTasks) {
}

function formatTasksToTasksPluginTask(selectedTasks) {
return selectedTasks.map(task => `- [ ] ${task.content} 📅 ${task.rawDatetime.format("DD-MM-YYYY")}`).join("\n");
return selectedTasks.map(task => `- [ ] ${task.content} 📅 ${task.rawDatetime.format("YYYY-MM-DD")}`).join("\n");
}

async function start(params) {
Expand Down

0 comments on commit ef3e148

Please sign in to comment.