question: change timezone in config/app.php? #1025

Closed
opened 2026-02-04 23:26:39 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @jeyca on GitHub (Feb 2, 2019).

I am not sure, if I should change 'timezone' in config/app.php to my local timezone? How is it actually used?

Originally created by @jeyca on GitHub (Feb 2, 2019). I am not sure, if I should change 'timezone' in `config/app.php` to my local timezone? How is it actually used?
OVERLORD added the Question label 2026-02-04 23:26:39 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Feb 2, 2019):

Hi @jeyca,

Really, You should not edit any of the files in config/, Only make config changes via the .env file.
The timezone config item you have found is not actually shown often, Most dates shown to the user are in a relative format.

@ssddanbrown commented on GitHub (Feb 2, 2019): Hi @jeyca, Really, You should not edit any of the files in `config/`, Only make config changes via the `.env` file. The timezone config item you have found is not actually shown often, Most dates shown to the user are in a relative format.
Author
Owner

@TBK commented on GitHub (Feb 6, 2019):

If you have access to the php.ini file you can set the timezone - http://php.net/manual/en/datetime.configuration.php#ini.date.timezone

@TBK commented on GitHub (Feb 6, 2019): If you have access to the php.ini file you can set the timezone - http://php.net/manual/en/datetime.configuration.php#ini.date.timezone
Author
Owner

@ssddanbrown commented on GitHub (Apr 20, 2019):

Will now close this since question was answered and no further response was requested.

@ssddanbrown commented on GitHub (Apr 20, 2019): Will now close this since question was answered and no further response was requested.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1025