feat(helpers): added milliseconds support to toSeconds method
This commit is contained in:
parent
b96a3e2565
commit
f3718b42d4
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class LengthFormatter
|
|||
$minutes = intval(ltrim($pieces[1], '0')) * 60;
|
||||
}
|
||||
|
||||
return $hours + $minutes + intval($pieces[2]);
|
||||
return $hours + $minutes + floatval($pieces[2]);
|
||||
}
|
||||
|
||||
public function format()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue