About timezones and hour offset
I've read a lot on these forums about timezone and hour offset settings but can't seem to find a solution to my problems
I'm testing Vanilla 2.1.1 before migrating from another forum software and I live in France where my server is hosted. According to my phpinfo, the timezone settings look correct :
Without any change in my config settings, the time for guests is not correct, it is printed as UTC (we are in UTC+1 in France, +1 hour with DST, so +2 hours from UTC), if I add
$Configuration['Garden']['GuestTimeZone'] = 'Europe/Paris'; in my config.php, the time is correct for guests.
When I login, the time is in UTC. If I edit manually the field hourOffset in my database to 2, the times are correct and stay correct. I've tried creating a new account and the time appears in UTC and hourOffset is set to 0 for this new user. (Just in case, my computer timezone is set to UTC+1, changing it doesn't change anything).
I would like to understand how the field hourOffset is updated, and why it doesn't update to the correct value when the user is connected. It looks like a recent change has been made in global.js regarding hour offset, it would be possible to specify a default offset in config.php ? Would this solve my problems ?
Any advice would be appreciated to help me solve this.