Hello, 

We found a strange behavior with timezone. I tested the following with the 
v8_shell.
running:
var d =new Date()
d.getTimezoneOffset()

It will give me 420 which is correct for PDT. but if I set the TZ variable 
by doing:
export TZ=:/etc/localtime
and running the above script again, it gives me 480.

When I do zdump /etc/localtime, it shows the timezone is PDT. So it doesn't 
seem the /etc/localtime has error.

I don't know why setting the TZ variable changed the correct timezone. 
Our program needs the TZ variable, is there any way to fix this behavior?

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to