Vérifiez le fuseau horaire de la base de données MySQL
SELECT @@system_time_zone as tz;
CodePadding
SELECT @@system_time_zone as tz;
SET GLOBAL time_zone = '+8:00';
SET GLOBAL time_zone = 'Europe/Helsinki';
SET @@global.time_zone = '+00:00';
# SET ON /etc/my.cnf
default-time-zone='+00:00'