mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-02-15 04:09:37 +00:00
Use '+00:00' over UTC for MySQL timezone
This commit is contained in:
parent
9b50dccfce
commit
1d20926189
@ -362,7 +362,7 @@ impl MySqlConnection {
|
||||
// This allows us to assume that the output from a TIMESTAMP field is UTC
|
||||
|
||||
// language=MySQL
|
||||
self.execute_raw("SET time_zone = 'UTC'").await?;
|
||||
self.execute_raw("SET time_zone = '+00:00'").await?;
|
||||
|
||||
// https://mathiasbynens.be/notes/mysql-utf8mb4
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user