Skip to content
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

Fix track duration display #265

Merged
merged 1 commit into from
Sep 14, 2024
Merged

Fix track duration display #265

merged 1 commit into from
Sep 14, 2024

Conversation

pR0Ps
Copy link
Contributor

@pR0Ps pR0Ps commented Sep 8, 2024

This fixes decimal places appearing in track durations. Currently this is only shown in the playlists UI:

Before After
before after

Also added some very basic tests to check durations around the hour boundary are properly handled.

Copy link

codecov bot commented Sep 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.04%. Comparing base (03b3b65) to head (bd53ac0).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #265      +/-   ##
==========================================
+ Coverage   86.01%   86.04%   +0.03%     
==========================================
  Files          47       47              
  Lines        3896     3898       +2     
==========================================
+ Hits         3351     3354       +3     
+ Misses        545      544       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pR0Ps pR0Ps force-pushed the bugfix/duration-str branch from cd73b21 to bd53ac0 Compare September 8, 2024 19:02
@spl0k spl0k merged commit bd53ac0 into spl0k:master Sep 14, 2024
6 checks passed
@spl0k
Copy link
Owner

spl0k commented Sep 14, 2024

I wonder how this went unnoticed for so long but thanks 👍

@pR0Ps pR0Ps deleted the bugfix/duration-str branch September 14, 2024 12:00
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.

2 participants