Use '+00:00' over UTC for MySQL timezone

This commit is contained in:
Ryan Leckey 2020-01-11 03:54:04 -08:00
parent 9b50dccfce
commit 1d20926189

View File

@ -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