-
Notifications
You must be signed in to change notification settings - Fork 897
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
Add total duration display to playlists #6657
base: development
Are you sure you want to change the base?
Add total duration display to playlists #6657
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks standard, I approve.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When navigating to a creators playlist this is what i see,
VirtualBoxVM_08jgZsaMtM.mp4
Head branch was pushed to by a user without write access
…fied logic, and adjusted CSS for playlists.
Head branch was pushed to by a user without write access
4465db8
to
7b669a2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seconds: totalSeconds % 60, | ||
} | ||
|
||
return new Intl.DurationFormat(locale, { style: 'short' }).format(duration) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should use the user's locale and fallback to english
return new Intl.DurationFormat(locale, { style: 'short' }).format(duration) | |
return new Intl.DurationFormat([this.currentLocale, 'en'], { style: 'short' }).format(duration) |
Title
Add total duration display to playlists
Pull Request Type
Related issue
closes #6152
Description
This pull request adds the total playlist duration display to the playlist info container.
Changes made:
Screenshots
After :
Testing
Approach:
Behavior Confirmed:
Desktop