@@ -115,15 +115,6 @@ pub fn drawdown(date: String, tasks: Vec<TaskInfo>, assignee: Option<String>) ->
t.events.last().unwrap_or(&TaskEvent::default()).timestamp.0,
0,
);
- // let event_date = Utc.timestamp_nanos(
- // t.events
- // .last()
- // .unwrap_or(&TaskEvent::default())
- // .timestamp
- // .0
- // .try_into()
- // .unwrap(),
- // );
event_date.day == day
})
.collect();
@@ -137,7 +137,6 @@ impl std::fmt::Display for Timestamp {
}
-// TODO: NanoTimestamp to not use chrono
#[derive(
Clone,
Copy,