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.

Wrong time zone when logged out.

apbarrattapbarratt New
edited June 2011 in Vanilla 2.0 - 2.8
I've noticed that my forum running here in the uk shows the incorrect times when logged out but the correct time when logged in.

So when I'm logged in, posts will show the time in BST (British Summer Time) but when I log out, the times are shown in EDT (Eastern Daylight Time).

I can't find anywhere where it decided to do either in the dashboard. Any ideas?
Tagged:

Best Answer

  • merfedmerfed New
    Answer ✓
    You can change the timezone in the bootstrap.php

Answers

  • merfedmerfed New
    Answer ✓
    You can change the timezone in the bootstrap.php
  • Thanking you :)
  • Have now set it to
    date_default_timezone_set('Europe/London');
    However I'm now finding the problem reversed, now when I sign in, my account's timezone is incorrect.
  • lucluc ✭✭
    You can change the timezone in the bootstrap.php
    The correct way is to have the correct value in php config.
    the value un bootstrap.php is only used if no php system value exist.
Sign In or Register to comment.