diff --git a/src/types/time.rs b/src/types/time.rs index a88c695..703d70e 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:%S:%f"; +const SQLITE_DATETIME_FMT: &'static str = "%Y-%m-%d %H:%M:%S:%f %Z"; impl ToSql for time::Timespec { fn to_sql(&self) -> Result {