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(server): invalid video duration format #2058

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

michelheusschen
Copy link
Contributor

Formatting of video duration doesn't account for decimal numbers, so the duration ends up like 01:02:03.456.000000 instead of the intended 01:02:03.000000. I've used Luxon instead for formatting and added support for millisecond precision. Now, durations will be formatted like 01:02:03.456.

@vercel
Copy link

vercel bot commented Mar 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
immich ⬜️ Ignored (Inspect) Mar 23, 2023 at 10:56AM (UTC)

Copy link
Member

@bo0tzz bo0tzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good

@alextran1502 alextran1502 merged commit 4dafc74 into main Mar 23, 2023
@alextran1502 alextran1502 deleted the fix/server-video-duration-format branch March 23, 2023 14:27
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.

4 participants