Dastan-glitch 3 роки тому
батько
коміт
15724ef072
2 змінених файлів з 0 додано та 10 видалено
  1. 0 9
      bin/tau/tau-cli/src/drawdown.rs
  2. 0 1
      src/util/time.rs

+ 0 - 9
bin/tau/tau-cli/src/drawdown.rs

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

+ 0 - 1
src/util/time.rs

@@ -137,7 +137,6 @@ impl std::fmt::Display for Timestamp {
     }
 }
 
-// TODO: NanoTimestamp to not use chrono
 #[derive(
     Clone,
     Copy,