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.

Time and Date

kaoskaos New
edited April 2010 in Vanilla 2.0 - 2.8
Does anyone know how to change the date and time in vanilla2?


  • Options
    lucluc ✭✭
    The format or the timezone?

    Format: using the config file (check the default conf file).
    Timezone: same way.

    Otherwise, you should normally see the date/time as per your local timezone, not the server's.
  • Options
    kaoskaos New
    edited April 2010
    I need it in GMT otherwise it says some weird time :s
    Also what part of the config file is it
    $Configuration['Garden']['Locale'] = 'en-CA';
  • Options
    MarkMark Vanilla Staff
    @isolationz - try signing out and back in to reset your timezone.
  • Options
    lucluc ✭✭
    @isolationz: sorry, I remembered wrong, it's the timezone value from php.

    And it's defaulting to some weird place otherwise :)
    bootstrap.php:if (ini_get('date.timezone') == '')
    bootstrap.php: date_default_timezone_set('Canada/Saskatchewan');
  • Options
    @mark thanks it worked :D
Sign In or Register to comment.