Jerrad Pierce wrote:
I've run into a bit a bit of a problem using a format containing %H with raw
data. The data I have uses both 0:00 and 24:00, one being the beginning of the
day, the other the end. I know that the docs state %H accepts 0-23, but it
doesn't seem unreasonable that it ought to DWIM, and process 24:00 as the
beginning of the next day... instead of forcing the handling upon the user
(which defeats the purpose of comprehensive magic modules for complex tasks ;-)

Nothing to do with strptime .. no DateTime method allows overflowing of parameters. Check the archives for much discussion. If you need it, consider writing DateTime::Format::Overflow or similar.

Cheers!
Rick Measham

Reply via email to