diff --git a/crates/onyx-core/src/google_tasks.rs b/crates/onyx-core/src/google_tasks.rs index c64514d..1f4fb34 100644 --- a/crates/onyx-core/src/google_tasks.rs +++ b/crates/onyx-core/src/google_tasks.rs @@ -442,7 +442,7 @@ fn render_task_markdown(task: &Task) -> String { }; let mut yaml = format!("id: {}\nstatus: {}\nversion: 1\n", task.id, status_str); if let Some(due) = task.date { - yaml.push_str(&format!("due: {}\n", due.to_rfc3339())); + yaml.push_str(&format!("date: {}\n", due.to_rfc3339())); } if let Some(parent) = task.parent_id { yaml.push_str(&format!("parent: {}\n", parent)); diff --git a/crates/onyx-core/src/storage.rs b/crates/onyx-core/src/storage.rs index 8a2d414..9796b22 100644 --- a/crates/onyx-core/src/storage.rs +++ b/crates/onyx-core/src/storage.rs @@ -102,7 +102,7 @@ impl From<&Task> for TaskFrontmatter { Self { id: task.id, status: task.status, - due: task.date, + date: task.date, has_time: task.has_time, version: task.version, parent: task.parent_id,