Blog
Documentation
Book a Demo
toggle menu
Categories
Discussions
Activity
Best Of...
Sign In
Sign In
Categories
Discussions
Activity
Best Of...
Sign In
×
Home
›
Vanilla 2.0 - 2.8
Discussion
how to set the time-zone?
Author
Date within
1 day
3 days
1 week
2 weeks
1 month
2 months
6 months
1 year
of
Examples: Monday, today, last week, Mar 26, 3/26/04
Search
how to set the time-zone?
Jasla
September 2010
edited September 2010
in
Vanilla 2.0 - 2.8
I want to change the time-zone setting to fit my local time, where is the file can set it? and how?
thx
Tagged:
timezone
0
Comments
Norrad
September 2010
Edit bootstrap.php in your Vanilla root directory. Find the following on about line 17:
[code]
if (ini_get('date.timezone') == '')
date_default_timezone_set('America/Montreal');
[/code]
Change America/Montreal to your time zone.
0
Md_Jamil
New
August 2012
great it worked for me changed to Asia/India
Thanks
0
Sign In
or
Register
to comment.
Comments
[code]
if (ini_get('date.timezone') == '')
date_default_timezone_set('America/Montreal');
[/code]
Change America/Montreal to your time zone.
great it worked for me changed to Asia/India
Thanks