jacobydave, Finding an issue with (either my current situation or) Perl's DateTime::Format::Duration module.
I create 2 DT objects, display via DT::F::MySQL and
my $d = DateTime::Format::Duration->new(
pattern => '%Y years, %m months, %e days, '
. '%H hours, %M minutes, %S seconds' );and get
1975-01-01 08:05:00
1993-12-13 17:40:17
0 years, 227 months, 12 days, 00 hours, 575 minutes, 17 secondsShouldn't there be days and hours, instead of >12 months and >60 minutes?
Add comment