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

Add format_time function #143

Merged

Conversation

4censord
Copy link
Contributor

This takes a duration in seconds and formats it like "2min 26s", "1d 4h 20min".
It does this using the "human-time" crate.

This takes a duration in seconds and formats it like "2min 26s", "1d 4h 20min".
It does this using the "human-time" crate.
@jhspetersson jhspetersson merged commit e78f96c into jhspetersson:master Nov 27, 2023
@4censord 4censord deleted the format-human-time-function branch November 28, 2023 09:36
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