From: Ernest Ellingson Date: 2007-02-16T00:55:06+09:00 Subject: Re: Daylight savings time in US Ernest Ellingson wrote: > Eric I. wrote: >> I'm sure the Time class' isdst method is making a call into the >> standard C library, first by calling the localtime function and then >> looking at the tm_isdst field of the returned structure. Therefore it >> depends on which version of the standard C library is being called, >> i.e., what's installed on the machine you compiled on. >> >> Eric >> >> Interested in hands-on, on-site Ruby training? See http:// >> LearnRuby.com >> for information about a well-reviewed class. >> > The Ruby version I'm using on windows (1.85) I installed using the > pre-compiled installation. I don't know what it used to compile it > although I'm pretty certain its some version of Microsoft's compiler. > > Ernie Here's some more information. I actually have Ruby working correctly in Windows now. I left out an important step in updating a windows machine. First use TZedit.exe ( http://www.softshape.com/download/tzedit.zip ) to set the correct dates for DST to begin and end. Then (here's what I didn't do) in Control panel choose Date and Time, choose the Time zone tab. Select another time zone other than the one you are in. Click OK Select Date and Time again, choose the Time zone tab. Choose your actual time zone from the drop down list. Click ok. Ruby now works fine. Ernie