americosfacebook / googletv-issues

Automatically exported from code.google.com/p/googletv-issues
0 stars 0 forks source link

Chrome reports time zone UTC #116

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When developing an HTML app targeting Google TV we noticed that the time zone 
offset in Chrome is being reported as 0 (UTC) to javascript.  We are using a 
Sony NSZ-GS7 and Sony Support was able to reproduce the issue and indicated 
that they would investigate and file a bug with Google.  

I asked on Stack Overflow 
(http://stackoverflow.com/questions/13715104/google-tv-chrome-reporting-gmt) to 
find out whether or not it was an issue specific to the Sony and it was 
acknowledged as a platform issue and it was recommended to file a bug here so I 
could be notified when it is resolved.

Steps to reproduce:
Create an HTML page with the following javascript, the offset should be non-0 
but always reports 0 for Google TV Chrome.

var date, offset;
date = new Date();
offset = date.getTimezoneOffset() / 60;

Original issue reported on code.google.com by tommy.o...@gmail.com on 8 Dec 2012 at 4:51