Skip to content

Commit

Permalink
feat: Add scheduled (#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdheepak authored May 12, 2024
2 parents 806bb0b + a241e43 commit 4e7eaa2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/task_report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,10 @@ impl TaskReportTable {
),
None => "".to_string(),
},
"scheduled" => match task.scheduled() {
Some(v) => format_date(NaiveDateTime::new(v.date(), v.time())),
None => "".to_string(),
},
"due.relative" => match task.due() {
Some(v) => vague_format_date_time(
Local::now().naive_utc(),
Expand Down

0 comments on commit 4e7eaa2

Please sign in to comment.