Hi!

On Fri, Aug 15, 2003 at 12:53:56PM -0500, Dave Rolsky wrote:

> The results are actually consistent with the internal logic, but
> definitely surprising for end users.

Surprising, indeed.

> If you add "end_of_month => 'preserve'" it does what you are wanting.

Ah, after reading the docs more closely (thanks to the pointer to
'preserve'), i figured out my 'mistake'.

> I wonder if we shouldn't make preserve the default EOM mode when the
> duration is negative?

Either this, or maybe add a hint to the 'end_of_month' parameter of new to
the docs of add/subtract (expecially in DateTime itself)

Thanks for the prompt awnser (and the very nice module!)

-- 
#!/usr/bin/perl                               http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Reply via email to