feat: Add scheduled (#562)

This commit is contained in:
Dheepak Krishnamurthy 2024-05-12 04:10:34 -04:00 committed by GitHub
commit 4e7eaa2c98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(),