Skip to content

Conversation

@caigner
Copy link

@caigner caigner commented Aug 21, 2025

Instead of 1.3 hours for 1 hour 15 min, I wanted it to display 1.25 hours.

I found it odd that 1 hour 15 minutes would display as 1.3 hours. I wanted it to display 1.25 hours. So I changed the number of decimals.
[FIX] increase time format to two decimals
@gottcode
Copy link
Owner

I tried this in the past, but I reverted it (18be324) because it added too much extra distracting noise for the entries that aren't a quarter hour.

I have considered adding the ability to round to the nearest hour or half hour, and have it show two digits of precision if not rounding. Or to allow rounding to the nearest quarter hour, and always showing two digits in that case.

@caigner
Copy link
Author

caigner commented Aug 23, 2025

I tried this in the past, but I reverted it (18be324) because it added too much extra distracting noise for the entries that aren't a quarter hour.

I have considered adding the ability to round to the nearest hour or half hour, and have it show two digits of precision if not rounding. Or to allow rounding to the nearest quarter hour, and always showing two digits in that case.

Would it be a lot of work to make the number of digits a parameter the user can change in the settings? Then the user could decide what format he likes. This way everyone wins.

@gottcode
Copy link
Owner

Would it be a lot of work to make the number of digits a parameter the user can change in the settings? Then the user could decide what format he likes. This way everyone wins.

It probably wouldn't be too hard to make it a parameter users could change in the settings, but I'm not sure where I would put it in the user interface.

Over the years I have found myself liking adding settings to my programs less unless I am absolutely sure it is the best way to solve things. I will think about it.

@caigner
Copy link
Author

caigner commented Aug 25, 2025

It probably wouldn't be too hard to make it a parameter users could change in the settings, but I'm not sure where I would put it in the user interface.

I suggest putting it right below the setting where the user chooses decimal time format, but you could make it visible only after the user has selected decimal time format.

Or make it a submenu to decimal time format.

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