POD>> The behavior of this module when given parameters outside proper POD>> boundaries (like a minute parameter of 72) is not defined, though POD>> future versions may be die.
I'd prefer the behavior of: my $dt = DateTime->new( hour => 7, minute => 75); to be the equivalent of: my $dt = DateTime->new( hour => 8, minute => 15); That is, minute = minute + int(second/60) second = second mod 60 hour = hour + int(minute/60) minute = minute mod 60 day = day + int(hour / 24) hour = hour mod 60 (With proper code for handling negatives such as minute=>-12) Now, if I'm not the only one that wants this I'm very happy to volunteer writing a patch for this. Cheers! Rick Measham P.S. I just reread the above and just to summarise: If a minute is over 60 then we add to hours etc. -------------------------------------------------------- There are 10 kinds of people: those that understand binary, and those that don't. -------------------------------------------------------- The day Microsoft makes something that doesn't suck is the day they start selling vacuum cleaners --------------------------------------------------------