Skip to content

fix: duration overflow [#93] #97

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

okuuva
Copy link

@okuuva okuuva commented Apr 15, 2025

Time formatting was not correctly handling durations over 99:59 (or
durations less than -99:59) because pad was too keen on keeping the
string 2 characters long. Replaced it with padStart from lodash.

Fixes #93.

okuuva added 3 commits April 15, 2025 19:17
Time formatting was not correctly handling durations over 99:59 (or
durations less than -99:59) because `pad` was too keen on keeping the
string 2 characters long. Replaced it with `padStart` from `lodash`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Overflow bug when using durations
1 participant