For DateTime.pm: 0.05 2003-02-13
- Fix handling and reporting of epoch times. Epoch times are, by definition, UTC times, so any time created from an epoch should always have its time zone set to "UTC". This can be changed after the object is created. Similarly, value returned by the epoch() method needs to be based on the object's UTC time, not it's local time. Bug reported by Kellan. - Change year_0 so that -1 BCE is 0, not 1 CE. This corresponds to astronomical years. - Change ymd, dmy, mdy, and iso8601 to use Gregorian years (..., -2, -1, 1, 2, ... ) as opposed to astronomical years. Also make sure all negative years are formatted as 4 digits. For DateTime::TimeZone: 0.05 2003-02-13 - The offset_as_string function did not handle negative offsets properly. Patch from Kellan. - Allow 'Z' as an offset name, equivalent to 'UTC'. Patch from Kellan. - Make sure DT::TZ subclasses which need to override is_dst_for_datetime do so. - Changed offset_as_seconds and offset_as_string so that the former always assumes its arg is a string and the latter always assumes it got a number. BTW, Kellan, do you have a last name you'd like used? -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
