Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

how to set the time-zone?

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:

Comments

  • 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.
  • great it worked for me changed to Asia/India
    Thanks

Sign In or Register to comment.