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

Improve formatDuration #713

Merged
merged 4 commits into from
Jan 22, 2025
Merged

Conversation

Altonss
Copy link
Contributor

@Altonss Altonss commented Jan 22, 2025

If the duration is 0 min, display "0 min" instead of nothing.
Should fix #712

@felixguendling felixguendling marked this pull request as ready for review January 22, 2025 17:22
@felixguendling felixguendling merged commit 34f8b95 into motis-project:master Jan 22, 2025
11 checks passed
@felixguendling
Copy link
Member

Thank you! :)

@Altonss Altonss deleted the patch-1 branch January 22, 2025 17:23
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.

Leg duration display 0 min
2 participants