diff --git a/src/html-duration-picker.js b/src/html-duration-picker.js index 9799bcb..04f61a6 100644 --- a/src/html-duration-picker.js +++ b/src/html-duration-picker.js @@ -643,8 +643,7 @@ const getInitialDuration = (inputBox) => { const duration = getDurationAttributeValue(inputBox, 'duration', 0); - const secondsValue = durationToSeconds(duration); - return applyMinMaxConstraints(inputBox, secondsValue); + return applyMinMaxConstraints(inputBox, duration); }; /** * Initialize all the pickers