mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 00:39:20 +08:00
fixed %F instead of %F:%s
This commit is contained in:
parent
0a114c4436
commit
8bc97972f8
@ -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<ToSqlOutput> {
|
||||
|
Loading…
Reference in New Issue
Block a user