Comment #4 on issue 17317 by [email protected]: The date in gmail once  
opened in Chrome is different from the current timezone
http://code.google.com/p/chromium/issues/detail?id=17317

(I'm guessing that people have figured this out already, but just in  
case...)

When I go to javascript:alert(new Date().toString()), Chrome  
3.0.194.3-r20926 gives
me the current time in UTC instead of in my local time zone.  Firefox gives  
me PDT
instead.

Per
https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Date,
Chrome's behavior seems to be incorrect -- "the constructor creates a Date  
object for
today's date and time according to local time", getHours() "returns the  
hour (0-
23) in the specified date according to local time" but Chrome is giving me  
the hour
in UTC, etc.

--
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

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to