diff --git a/README.md b/README.md index afe81cf..b106bce 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ as you work. The currently active task is automatically time-tracked. To stop time-tracking completely, simply move to the root of all tasks. Time-tracking is currently also stopped -when the application is terminated regularly. +when the application is terminated regularly with Ctrl-D. ## Reference diff --git a/src/main.rs b/src/main.rs index e9f572e..b3ee125 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,8 +8,9 @@ use std::ops::Sub; use std::path::PathBuf; use std::str::FromStr; use std::sync::mpsc; -use std::sync::mpsc::{Sender}; -use chrono::{DateTime}; +use std::sync::mpsc::Sender; + +use chrono::DateTime; use colored::Colorize; use itertools::Itertools; use log::{debug, error, info, trace, warn}; diff --git a/src/tasks.rs b/src/tasks.rs index 8996095..4516271 100644 --- a/src/tasks.rs +++ b/src/tasks.rs @@ -4,6 +4,7 @@ use std::iter::{once, Sum}; use std::ops::{Div, Rem}; use std::sync::mpsc::Sender; use std::time::Duration; + use chrono::{DateTime, Local, TimeZone}; use chrono::LocalResult::Single; use colored::Colorize;