Issue 220: Time incorrect using Data Time app on google homepage
http://code.google.com/p/chromium/issues/detail?id=220

Comment #11 by istewi:
I am in timezone GMT+10:00 Canberra, Melbourne, Sydney and tested with the
following...

var myDate = new Date();
document.write ("Local time is " + myDate.toString() + "<BR>");
document.write ("UTC time is " + myDate.toUTCString() + "<BR>");
document.write ("Timezone offeset is " + myDate.getTimezoneOffset()  
+ "<BR>");

We are currently in daylight saving so the time offset should be +1100, am  
getting
the following...

Local time is Wed Oct 22 2008 10:40:01 GMT+1200 (AUS Eastern Daylight Time)
UTC time is Tue, 21 Oct 2008 22:40:01 GMT
Timezone offeset is -720

If I untick "Automatically adjust clock for daylight saving changes" I get  
the
following...

Local time is Wed Oct 22 2008 09:41:48 GMT+1100 (AUS Eastern Standard Time)
UTC time is Tue, 21 Oct 2008 22:41:48 GMT
Timezone offeset is -660

However if I change the timezone to one that does not have daylight saving  
at all,
i.e. GMT+10:00 Brisbane, the time is correct...

Local time is Wed Oct 22 2008 08:43:09 GMT+1000 (E. Australia Standard Time)
UTC time is Tue, 21 Oct 2008 22:43:09 GMT
Timezone offeset is -600

I am running Chrome 0.2.149.30 on XP SP2.



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to chromium-bugs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to