Update chrono: 0.3 -> 0.4

This commit is contained in:
Matthias Beyer 2017-07-15 20:14:33 +02:00
parent aee7772665
commit 17b9c01163
8 changed files with 8 additions and 8 deletions

View File

@ -15,7 +15,7 @@ homepage = "http://imag-pim.org"
[dependencies]
filters = "0.1"
chrono = "0.3"
chrono = "0.4"
toml = "0.4"
toml-query = "0.3"
lazy_static = "0.2"

View File

@ -19,7 +19,7 @@
use toml::Value;
use toml_query::insert::TomlValueInsertExt;
use chrono::naive::datetime::NaiveDateTime as NDT;
use chrono::naive::NaiveDateTime as NDT;
use constants::*;
use error::TimeTrackError as TTE;

View File

@ -26,7 +26,7 @@ pub mod tag;
#[cfg(test)]
mod test {
use chrono::naive::date::NaiveDate;
use chrono::naive::NaiveDate;
use libimagstore::store::Store;

View File

@ -19,7 +19,7 @@
use toml::Value;
use toml_query::insert::TomlValueInsertExt;
use chrono::naive::datetime::NaiveDateTime as NDT;
use chrono::naive::NaiveDateTime as NDT;
use constants::*;
use error::TimeTrackError as TTE;

View File

@ -17,7 +17,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
use chrono::naive::datetime::NaiveDateTime as NDT;
use chrono::naive::NaiveDateTime as NDT;
use constants::*;
use error::TimeTrackError;

View File

@ -17,7 +17,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
use chrono::naive::datetime::NaiveDateTime as NDT;
use chrono::naive::NaiveDateTime as NDT;
use error::TimeTrackError;
use error::TimeTrackErrorKind as TTEK;

View File

@ -24,7 +24,7 @@
//! getting the start and end time and also deleting start and end time.
//!
use chrono::naive::datetime::NaiveDateTime;
use chrono::naive::NaiveDateTime;
use libimagstore::store::Entry;
use libimagerror::into::IntoError;

View File

@ -48,7 +48,7 @@ pub trait TimeTrackStore<'a> {
}
fn now() -> NDT {
use chrono::offset::local::Local;
use chrono::offset::Local;
Local::now().naive_local()
}