E
Ernest Ellingson
As most of you know the dates when DST begins and ends in the US have
changed.
On Sun. Mar, 11 at 2:00 AM Std time the clocks should move forward 1 hour.
On Sun. Nov, 4, at 2:00 AM DST the clocks should move back 1 hour.
I have updated my linux boxes for the new times.
I get correct answers for
t=Time.mktime(2007,3,12)
t.isdst => true
t=Time.mktime(2007,11,3)
t.isdst => true
t=Time.mktime(2007,11,5)
t.isdst => false
However, On Windows XP, even though I have updated the settings
for DST, Ruby 1.85 (one click installer) reports incorrectly
t=Time.mktime(2007,3,12)
t.isdst => false
t=Time.mktime(2007,11,3)
t.isdst => false
Does this have something to do the machine on which ruby was compiled?
Or does it have some other cause?
Ernie
changed.
On Sun. Mar, 11 at 2:00 AM Std time the clocks should move forward 1 hour.
On Sun. Nov, 4, at 2:00 AM DST the clocks should move back 1 hour.
I have updated my linux boxes for the new times.
I get correct answers for
t=Time.mktime(2007,3,12)
t.isdst => true
t=Time.mktime(2007,11,3)
t.isdst => true
t=Time.mktime(2007,11,5)
t.isdst => false
However, On Windows XP, even though I have updated the settings
for DST, Ruby 1.85 (one click installer) reports incorrectly
t=Time.mktime(2007,3,12)
t.isdst => false
t=Time.mktime(2007,11,3)
t.isdst => false
Does this have something to do the machine on which ruby was compiled?
Or does it have some other cause?
Ernie