Skip to content

Commit

Permalink
Revert "Fix SQLite chrono::NaiveTime binding before launchbadge/sql…
Browse files Browse the repository at this point in the history
…x#1459 being merged and released"

This reverts commit 2ec9698.
  • Loading branch information
tyt2y3 committed Oct 15, 2021
1 parent 3d08732 commit 8ac4af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/sqlx_sqlite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ macro_rules! bind_params_sqlx_sqlite {
} else if value.is_date() {
query.bind(value.as_ref_date())
} else if value.is_time() {
query.bind(value.as_ref_time().map(|t| t.format("%T.f").to_string()))
query.bind(value.as_ref_time())
} else if value.is_date_time() {
query.bind(value.as_ref_date_time())
} else if value.is_decimal() {
Expand Down

0 comments on commit 8ac4af3

Please sign in to comment.