SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '2008-03-30 02:56:12'

前端 未结 1 1845
执念已碎
执念已碎 2021-01-06 15:48

System Local PHP 5.6.19 App made with Laravel 5.0, using fzaninotto/Faker as seeder Mysql remote

Remote MySQL Debian 8 with MariaDB 10.1.13-MariaDB-1~jessie

相关标签:
1条回答
  • 2021-01-06 16:35

    The question is simple. It is a problem concerning the "Daylight Saving Time"

    By consulting the table for Daylight Saving Time Spain, and that date is the day indeed 27/03/2011 at 02:00 PM. Therefore, any date is a day that contains a time, between 02:00 and 02:59 will be a failure, because the clock is moved forward from 02:00 to 02:59.

    0 讨论(0)
提交回复
热议问题