Status: New
Owner: ----

New issue 3129 by [email protected]: DST error for timezone Europe/Paris
http://code.google.com/p/v8/issues/detail?id=3129

Hi!

France starts using DST (daylight saving time) back in 1976 (http://www.timeanddate.com/time/dst/1976.html)

Before 1976, France was on GMT+1 timezone

When you dow in Chrome JS console:
new Date(1975, 4, 1)
Chrome says: Thu May 01 1975 00:00:00 GMT+0200 (Paris, Madrid (heure d'été))
The French part means "summer time"

May, 1st 1975 is before 1976 thus should be at GMT+0100

When you do (new Date(1975, 4, 1)) / 1000 you get 168127200 which is different from PHP mktime(0, 0, 0, 5, 1, 1975) = 168130800

The 3600 seconds difference comes from the wrong timezone in JS.

Best regards

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to