RFC: DateTime::Format::Natural and date_only option

2009-05-30 Thread Steven Schubiger
DateTime::Format::Natural currently does calculate its dates and times with an initial DateTime object received by DateTime-now (with timezone support). As a consequence thereof, many resulting final DateTime objects within DateTime::Format::Natural will retain for units that have not been altered

Re: RFC: DateTime::Format::Natural and date_only option

2009-05-30 Thread Dave Rolsky
On Sat, 30 May 2009, Steven Schubiger wrote: DateTime::Format::Natural currently does calculate its dates and times with an initial DateTime object received by DateTime-now (with timezone support). As a consequence thereof, many resulting final DateTime objects within DateTime::Format::Natural

Re: RFC: DateTime::Format::Natural and date_only option

2009-05-30 Thread Rick Measham
Dave Rolsky wrote: Actually, the current behavior just seems broken. I'd suggest that you should _always_ truncate to the most specific parsed value. The current behavior is just confusing as heck in all the example up above. Absolutely agree. Your 'date_only' is pointless .. just return to