Status: New
Owner: ----

New issue 2064 by [email protected]: Date object not using the correct timezone on Solaris
http://code.google.com/p/v8/issues/detail?id=2064

No matter what the timezone is set to in Solaris, V8 returns -60 as the timezone offset.

This is the V8 shell on a Linux or OS X system:

$ TZ='America/Los_Angeles' out/ia32.release/shell -e 'print(new Date().getTimezoneOffset())'
  420
$ TZ='Europe/Amsterdam' out/ia32.release/shell -e 'print(new Date().getTimezoneOffset())'
  -120

And this is on a Solaris system:

$ TZ='America/Los_Angeles' out/ia32.release/shell -e 'print(new Date().getTimezoneOffset())'
  -60
$ TZ='Europe/Amsterdam' out/ia32.release/shell -e 'print(new Date().getTimezoneOffset())'
  -60

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to