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.
Options

Timestamps different when logged out to when logged in

nicepaulnicepaul
edited August 2012 in Vanilla 2.0 - 2.8

Timestamps are correct when logged in to the forum, but if you are logged out then timestamps are 5 hours in the past.

Correct time is London BST (British summertime), which is GMT+1.

Vanilla 2.0.18, installed yesterday: http://www.video125.co.uk/forum/

I've tried changing the "timezone" setting in bootstrap.php to "Europe/London" but it has had no effect.

thanks,
Paul

Comments

  • Options
    peregrineperegrine MVP
    edited August 2012

    in your conf folder where config.php is located and see if this solves it.

    create a file called bootstrap.after.php

    <?php if (!defined('APPLICATION')) exit();
    
     ini_set('date.timezone','Europe/London');
     date_default_timezone_set('Europe/London');
    

    -
    after this change you may need to set the hour_offset to 0 in the user table for your users.

    if all else fails

    http://vanillaforums.org/addon/timezoneadjust-plugin

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    Worked a treat! Thanks :)

Sign In or Register to comment.