Please check the timezone set in your DB configuration, I think it could be due to that, to check the timezone in mysql you can refer below documentation:
SELECT @@GLOBAL.time_zone, @@SESSION.time_zone;
https://dev.mysql.com/doc/refman/8.0/en/time-zone-support.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.