-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Enhancement: add duration format to customapi widget #4549
Enhancement: add duration format to customapi widget #4549
Conversation
3db2762
to
7c34450
Compare
duration
format to the customapi
widget.duration
format to the customapi
widget.
duration
format to the customapi
widget.
Both the fact that this isn’t linked to a discussion and that it fails linting suggest that you ticked the boxes above but didn’t really read / do them... which is sorta disappointing. I really thought this would make it clear enough, but I guess not. In the spirit of collaboration, please respect the guidelines for projects to which you would like to contribute. Please reopen this if / when the guidelines are met. |
Pull request was closed
Hi, You are incorrect in your assumption that I did not read, understand, and try to adhere by the rules set forth, and I am sorry that you decided to close this PR without giving me an opportunity to fix the linter issue. I did not realise that I was committing in a shell where pre-commit hadn't been installed, and assumed that the pre-commit hooks had been executed. As soon as an email popped up in my inbox about a failed workflow, I fixed the issue and was about to push the change when your comment above arrived. The reason for not opening a feature request / starting a discussion on this PR was based on the word I guess I'll just use my own fork of the project going forward, a project that I have found quite useful. Have a nice day. |
Sorry for being reactionary. I shouldn’t review PRs after work. If you’d like to correct the lint that would be fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies again.
Thanks
Hi, My sincere apologies for messing up for not catching the linter issue myself and thank you very much for accepting this PR. Your work on this project is very much appreciated :-) |
Proposed change
This PR adds a
duration
format to the customapi widget. This allows formatting durations (in seconds) in to a more human-readable format, e.g.1h20m
instead of4,850
.Type of change
Checklist: