On Tue, Apr 10, 2012 at 00:02, james33 <[email protected]> wrote:
> It returns Mon Apr 09 2012 23:01:04 GMT+0100 (PST)

You should report this to V8 because I'm 99% sure it's a bug. To wit,
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

If I have some time to kill, I'll look into fixing it myself.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to