hamster-shell-extension icon indicating copy to clipboard operation
hamster-shell-extension copied to clipboard

Report category total times as "7h 30min" instead of 7.5h

Open seanh opened this issue 8 years ago • 5 comments

Hi, I love this extension and use and rely on it all day long, it's fantastic. There's just one thing though.

Could you change the format of the summary of time spent today per category from "7.25h" to "7h 15min"?

I often need to know how long I've worked. For example I would normally aim to work 7h 15 min, but today I have 10 min of extra catch up to do, so I need to hit 7h 25 min, that sort of thing.

The fact that this extension displays 7h 15min as 7.25h and 7h 25min as 7.4h just makes this really difficult. I'm constantly having to translate in my head between the "X.Yh" form that the extension displays and the "Xh Ym" form that my brain uses.

Doesn't everyone naturally think in terms like "7h 15min"? Does anyone think "7.25h"?

I would really appreciate it if you'd change the way the times are displayed to the "Xh Ymin" format.

P.S. This would also make the display of category totals consistent with the display of activities above them.

Thanks!

seanh avatar Jul 11 '16 18:07 seanh

This should probably be reported to the main project, not the shell extension.

However, to answer your question, yes I have to submit my timesheets in decimal notation, so at least one person likes it how it is. :-)

On Mon, 11 Jul 2016, 19:35 Sean Hammond, [email protected] wrote:

Hi, I love this extension and use and rely on it all day long, it's fantastic. There's just one thing though.

Could you change the format of the summary of time spent today per category from "7.25h" to "7h 15min"?

I often need to know how long I've worked. For example I would normally aim to work 7h 15 min, but today I have 10 min of extra catch up to do, so I need to hit 7h 25 min, that sort of thing.

The fact that this extension displays 7h 15min as 7.25h and 7h 25min as 7.4h just makes this really difficult. I'm constantly having to translate in my head between the "X.Yh" form that the extension displays and the "Xh Ym" form that my brain uses.

Doesn't everyone naturally think in terms like "7h 15min"? Does anyone think "7.25h"?

I would really appreciate it if you'd change the way the times are displayed to the "Xh Ymin" format.

P.S. This would also make the display of category totals consistent with the display of activities above them.

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/projecthamster/shell-extension/issues/116, or mute the thread https://github.com/notifications/unsubscribe/AE2kJ0xGVO7z6Tha8Q1y_uJS30wHG831ks5qUozhgaJpZM4JJpuF .

a-m-s avatar Jul 11 '16 22:07 a-m-s

If this about the "main applet/interface" and not the shell extension it should be indeed reported to the hamster repository.

I think there are two seperate issues.

  1. Frontend display: A future hamster client could simply offer a preference setting for this
  2. Data export format: There is already work under way for a general export library that will address exactly this kind of transformation. So if you need to export data in a certain format/representation this will be possible.

elbenfreund avatar Jul 12 '16 05:07 elbenfreund

In a first step, for the love of consistency ;), I will change the format in HH:MM for the daily summary.

Option for time format could also be implemented in the widget but it would be an other task then fixing a bad UX .

ghost avatar Mar 07 '17 03:03 ghost

@border0464111

Did you get around to this?

elbenfreund avatar Jul 18 '17 15:07 elbenfreund

While #201 does refactor (and improve) our formating functions for durations it does not actually change behaviour. As people seem to have different preferences about the display format, this should be handled by a dedicated preference setting. As we try to get the next release out asap I will postpone this issue for now, but as it is rather limited in scope I am confident it will be addressed by the following release.

elbenfreund avatar Oct 13 '17 14:10 elbenfreund