Warn about the dangers of changing app.timezone

This commit is contained in:
Luke Towers 2018-11-15 13:45:57 -06:00 committed by GitHub
parent ff8b967b75
commit abc3359273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -52,6 +52,14 @@ return [
| will be used by the PHP date and date-time functions. We have gone | will be used by the PHP date and date-time functions. We have gone
| ahead and set this to a sensible default for you out of the box. | ahead and set this to a sensible default for you out of the box.
| |
|
| -------- STOP! --------
| Before you change this value, consider carefully if that is actually
| what you want to do. It is HIGHLY recommended that this is always set
| to UTC (as your server & DB timezone should be as well) and instead you
| use cms.backendTimezone to set the default timezone used in the backend
| to display dates & times.
|
*/ */
'timezone' => 'UTC', 'timezone' => 'UTC',