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: Force second display when less than 1 minute #207

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

cogk
Copy link
Contributor

@cogk cogk commented Jul 20, 2024

After

a

Before

b

@Razeeman
Copy link
Owner

Thank you for suggestion. Have mixed feelings about this one. Original implementation was like presented in this PR - show seconds on records shorter than 1 minute even if "show seconds" is off. Later it was changed to current implementation. Main reason was for consistency, if "show seconds" is off it could be somewhat strange to show seconds anyway. But on the other side it could be better to show some meaningful information (seconds) instead if "0 minutes". So both implementations have some reasoning behind. Another point is that I can't remember if anyone asked for it to be one way or another, so probably it doesn't matter, because probably no one is tracking such short records with "show seconds" disabled and need to see seconds at the same time. So I'd rather leave it as it is unless you have some counterpoints.

@cogk
Copy link
Contributor Author

cogk commented Aug 21, 2024

probably no one is tracking such short records with "show seconds" disabled and need to see seconds at the same time

Well… I do 😂

I feel like “Show seconds” is overwhelming, but I still kinda want to see seconds on short records (< 1 min) for aesthetic reasons AND also disable the rounding introduced recently. To be fair, my use-case* is probably not relevant haha

*My shortest record is 7 seconds, longest is 19 hours. Around 2% of my records are below one minute, so this is definitely not critical for me.


Anyways feel free to close this PR, I won't mind 😃

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