Skip to content

Fix duration formatting dropping days for durations of 24h or more - #14765

Open
noisyloop wants to merge 1 commit into
AudiusProject:mainfrom
noisyloop:fix/duration-over-24h
Open

noisyloop wants to merge 1 commit into
AudiusProject:mainfrom
noisyloop:fix/duration-over-24h

Conversation

@noisyloop

Copy link
Copy Markdown

dayjs duration hours() and the 'H' format token return only the 0-23 hour component, so e.g. a 25h05m playlist rendered as '1h 5m'. Compute total hours from the seconds value instead.

dayjs duration hours() and the 'H' format token return only the 0-23
hour component, so e.g. a 25h05m playlist rendered as '1h 5m'. Compute
total hours from the seconds value instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDi4vmnSvP7PoeJ3AEBYwP
@changeset-bot

changeset-bot Bot commented Nov 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 8618530

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants