On Fri, 4 Apr 2003, Joshua Hoblitt wrote: > When converting a DateTime::Duration month to days - how many days > should it be considering equivalent too? 30? 30.4? 31?
It's not converted to days, it literally increments the month portion of a date. If you're using this for DateTime::Calendar::Mayan, please don't. That's the wrong hammer for this nail ;) DateTime::Duration is really only intended for use with DateTime.pm, and any calendar module similar enough to Gregorian that it can reasonably inherit from DateTime.pm, like the Julian calendar. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
