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

Different formats? #24

Open
MarcelRobitaille opened this issue Nov 23, 2021 · 0 comments
Open

Different formats? #24

MarcelRobitaille opened this issue Nov 23, 2021 · 0 comments

Comments

@MarcelRobitaille
Copy link

Are there any plans to support different output formats? I know that some different formats were discussed in #1, but I don't think anything happened like that. I would like to be able to specify a space before the units.

Currently: 5h 3m 2s
Desired: 5 h 3 m 2 s

It would be great to specify the values like in strftime, so like:

format_duration(duration, "%H hours and %M minutes and I don't care about seconds!");

You could really do whatever you want. Are there any plans for anything like this?

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

No branches or pull requests

1 participant