On Wed, 8 Mar 2006, Watters, Stephen wrote:

That's what I thought at first too but Phoenix is returning a 5 and it
does not have DST and Chicago returns a 97 and it does have DST.

Ah, I see what you're asking. First of all, the number doesn't matter, as far as the API is concerned. It's either true or false.

Second, Phoenix _did_ once have DST changes, and that's what the method is telling you. I've changed the docs to say:

 Indicates whether or not this zone has ever had a change to and
 from DST, either in the past or future.

Really, this method is primarily there for the benefit of enabling a hack in DateTime.pm when doing datetime subtraction.


-dave

/*===================================================
VegGuide.Org                        www.BookIRead.com
Your guide to all that's veg.       My book blog
===================================================*/

Reply via email to