diff --git a/src/types/time.rs b/src/types/time.rs index b8e7dc3..4e75cb2 100644 --- a/src/types/time.rs +++ b/src/types/time.rs @@ -3,7 +3,7 @@ extern crate time; use Result; use types::{FromSql, FromSqlError, FromSqlResult, ToSql, ToSqlOutput, ValueRef}; -const SQLITE_DATETIME_FMT: &'static str = "%Y-%m-%d %H:%M:%f"; +const SQLITE_DATETIME_FMT: &'static str = "%Y-%m-%d %H:%M:%S:%f"; impl ToSql for time::Timespec { fn to_sql(&self) -> Result {