On Thu, Apr 05, 2012 at 01:32:24PM -0700, Andrew Davis wrote:
> The 'hour' parameter ("24") to DateTime::new did not pass the 'an 
> integer between 0 and 23' callback
>
> I'm hoping someone can tell me the best way to avoid the error, and
> get the "2008-12-31T23:59:60" output that I want.

This sounds like a bug in DateTime core - just as it isn't always invalid
for months (for February, in leap years) to be [0,28], it is not always
invalid for 'seconds' to be [0,59] or hours [0,23] (for leap seconds).


-- 
                  Love is grand, divorce is a hundred grand.
            .             .            .            .             .
Karen Etheridge, [email protected]       GCS C+++$ USL+++$ P+++$ w--- M++

Reply via email to