When adding any data to the database, in the fields of the 'created_at' type, the time not corresponding to the time zone is displayed. Can you please tell me how / where to set the time zone? Thank you all in advance!
1 answer
The time zone is configured in the config / app.php configuration file in the timezone field. List of supported time zones - http://php.net/manual/ru/timezones.php
- The comments have already said that this method did not help .. - entithat
|
$table->timestampsTz();- TIMESTAMP (with timezone) equivalent column. - entithat