I saw this error questions and answers but my case is a little bit weird!
I'm using Laravel 5.7
with these database settings:
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
],
One of my tables records user birth date with timestamp
format.
This works fine till user age is smaller than 1969-02-22 00:00:00
; means 1970-02-22 00:00:00
is OK but first one occurs an error!
Do you have any Idea about this case?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire