kminek opened this issue 3 years ago · 0 comments
i would expect that zeroFill param on formatted method fills hours segment also:
zeroFill
formatted
$duration = new \Khill\Duration\Duration(4265); dump($duration->formatted(null, true)); // returns: 1:11:05 instead of 01:11:05