Daylight Savings Time

Comments, questions, rants, etc, that are specifically about KGS go here.
Post Reply
User avatar
Fedya
Lives in gote
Posts: 603
Joined: Tue Apr 20, 2010 8:21 pm
Rank: 6-7k KGS
GD Posts: 0
Has thanked: 43 times
Been thanked: 139 times

Daylight Savings Time

Post by Fedya »

KGS seems to think I'm still in UTC-5, even though here in the US, Daylight Savings Time started overnight. As I write, it's about 6:00 PM, but if I look at the games list of somebody who just started a game, it will say that the game was started at 5:00 PM. The computer's (Windows XP) clock is set for UTC-5, with the box for automatically detecting changes in DST ticked.

Is anybody else (obviously in the US/Canada) having this problem?
User avatar
wms
Lives in gote
Posts: 450
Joined: Tue Apr 20, 2010 4:23 pm
GD Posts: 0
KGS: wms
Location: Portland, OR USA
Has thanked: 257 times
Been thanked: 287 times
Contact:

Re: Daylight Savings Time

Post by wms »

KGS uses exclusively UTC internally. All translation to/from local time is done on your computer by your local java system. Since your computer has it correct, I'd guess that your local Java system uses its own (incorrect or out of date) time zone database.
User avatar
fwiffo
Gosei
Posts: 1435
Joined: Tue Apr 20, 2010 6:22 am
Rank: Out of practice
GD Posts: 1104
KGS: fwiffo
Location: California
Has thanked: 49 times
Been thanked: 168 times

Re: Daylight Savings Time

Post by fwiffo »

Java is actually fairly brain-dead about timezones. In the time zone configuration thing, try selecting a different city in the same timezone. For instance, I couldn't get it to work when my computer (Linux) was set to America/Detroit, but it worked with America/New_York even though they're the same timezone.

(Sometimes there are multiple choices for the same time zone because they were different in the past and they want to support correct conversion of historical times/dates).
User avatar
oren
Oza
Posts: 2777
Joined: Sun Apr 18, 2010 5:54 pm
GD Posts: 0
KGS: oren
Tygem: oren740, orenl
IGS: oren
Wbaduk: oren
Location: Seattle, WA
Has thanked: 251 times
Been thanked: 549 times

Re: Daylight Savings Time

Post by oren »

wms wrote:KGS uses exclusively UTC internally. All translation to/from local time is done on your computer by your local java system. Since your computer has it correct, I'd guess that your local Java system uses its own (incorrect or out of date) time zone database.


Yes, I've had this happen when we built a program on Java but didn't want to update our JRE for fear of having to reverify everything. Unfortunately the government changed the daylight savings time after this.
Post Reply