ohtarelenion wrote: ↑25 October 2024, 15:59
The playing hours are displayed for you in the time-zone you set in your profile
That's not correct. I think that internally, the BGA server stores the playing hours according to the current time in Paris, and there is some code that attempts to tell your browser how to convert that to your local time. For example, here is a tournament I created with playing hours:
https://boardgamearena.com/tournament?id=334556 If you look at the HTML, the relevant part seems to be this:
Code: Select all
<div class="row-data row-data-large clearfix tournaments-option tournaments-option--game">
<div class="row-label">Horaires de jeu</div>
<div class="row-value"><span id="gameoption_206">23:00 → 11:00</span> </div>
</div>
I created the tournament with playing hours from 14:00 to 02:00
PDT but the HTML encodes it as 23:00 to 11:00, presumably corresponding to
CEST.
I suppose there's something in the CSS which tells your browser how to convert time ranges identified as gameoption_206 ?
It will be confusing for players if their device is set to a different time. Maybe they are in a different time zone from when they register for the tournament, than they will be in when the tournament begins. Or maybe they just set their laptop incorrectly. I think that what's displayed to you is derived from the
current time as displayed by your device, and not the time zone your device is set to. You can verify this as follows:
1. look at a BGA page with information on a game or tournament that has playing hours set. Take a screenshot.
2. Log out of BGA and exit your browser.
3. Change the time on your device by a few hours, but not your time zone.
4. Relaunch your browser.
5. Clear your browser cache (and maybe also clear your BGA cookie? But I'm not sure whether that's necessary).
6. Re-log into BGA and look at the same page as before, and check whether the playing hours are showing something different than before.
What I don't understand is, what happens when you are in a time zone like India, Newfoundland, or Central Australia, where the number of hours offset from UTC is not an integer. The playing hours are still displayed to you as integer hours, but that won't be correct. I think this is a bug, but as far as I know it has not been reported?
(Also, I believe you get unexpected behaviour when Paris switches from daylight time to standard time on a day when your own time zone does not switch, and vice versa.)
Some relevant bug reports/suggestions:
https://boardgamearena.com/bug?id=27142
https://boardgamearena.com/bug?id=33960
https://boardgamearena.com/bug?id=29609
https://boardgamearena.com/bug?id=41618
https://boardgamearena.com/bug?id=57379
https://boardgamearena.com/bug?id=59394
https://boardgamearena.com/bug?id=130167
I've meant to experiment further about this but I always end up getting very confused!