It is currently Fri May 03, 2024 4:14 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
Offline
 Post subject: Daylight Savings Time
Post #1 Posted: Sun Mar 13, 2011 2:59 pm 
Lives in gote
User avatar

Posts: 603
Liked others: 43
Was liked: 139
Rank: 6-7k KGS
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?

Top
 Profile  
 
Offline
 Post subject: Re: Daylight Savings Time
Post #2 Posted: Mon Mar 14, 2011 10:18 am 
Lives in gote
User avatar

Posts: 450
Location: Portland, OR USA
Liked others: 257
Was liked: 287
KGS: 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.

Top
 Profile  
 
Offline
 Post subject: Re: Daylight Savings Time
Post #3 Posted: Mon Mar 14, 2011 10:38 am 
Gosei
User avatar

Posts: 1435
Location: California
Liked others: 53
Was liked: 171
Rank: Out of practice
GD Posts: 1104
KGS: 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).

_________________
KGS 4 kyu - Game Archive - Keyboard Otaku

Top
 Profile  
 
Offline
 Post subject: Re: Daylight Savings Time
Post #4 Posted: Mon Mar 14, 2011 11:24 am 
Oza
User avatar

Posts: 2777
Location: Seattle, WA
Liked others: 251
Was liked: 549
KGS: oren
Tygem: oren740, orenl
IGS: oren
Wbaduk: 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.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group