HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Timezone setup
Hi
Can any one please help where we can do set default timezone in vanilla
0
Hi
Can any one please help where we can do set default timezone in vanilla
Comments
Your application should have a file called
/applications/YourApplication/settings/class.yourapplicationhooks.php
which has asetup()
method (use the hooks file of the vanilla application as an example).In this method you should add the following line:
touchConfig('Garden.GuestTimeZone', 'Europe/Berlin');
It will set the default time zone for guests but only when it has not been set before. There is no need for a default time zone for users since their timezone gets determined when they create an account/log in.
Ok Thanks @R_J