Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Report total incorrect #76

ElessarWebb opened this Issue Feb 5, 2013 · 5 comments


None yet
4 participants

It's an early morning for me and I hope I haven't overlooked something incredibly stupid, but I think the report totals are incorrect for me.

Every month I export my monthly report to a tsv file and sum the whole lot for my employer. The grand totals always matched up, but since the latest update they don't anymore.

Summed minutes in xls

3717 minutes = 61.95 hours

Total time in hamster

62.4 hours

Any help is appreciated.


tstriker commented Feb 5, 2013

don't really remember having changed anything there. when you are referring to "the latest update" - are you talking about going from one git version to another one or what versions are we talking?

Sorry, hamster's about reports version 1.03.3. Which is the latest version out there for my distro: Arch Linux.

It seemed strange to me as well that something that fundamental broke, but I double checked all entries in hamster's report vs. the spreadsheet and they all check out.

Is there any progress on this issue yet? Have you been able to reproduce the error?
This month I again encountered an error of a fraction of an hour (59.1 vs. 58.8 in my spreadsheet).


tstriker commented Mar 2, 2013

i'd update this bug if there would be any progress

Hello, I'm seeing something I think is related to this (Arch linux, updated last week).

  1. In the Activities tab in Overview, the day total is higher than the sum of the individual activities (My total says 1h21 min for example, but the sum of 8 events is 77 min.)
  2. Similar results in TSV export - the sum of "duration minutes" is 77 min.
  3. On the main page (with start tracking and stop tracking buttons): 11 unsorted activities totalling 341 min (5.683h); main page total is "Unsorted: 5.7h"; overview page total for unsorted for the day is "5.8", overview activities tab says 546m.

The above observations were made with tracking stopped, if that affects things.

I work on many different activities each day (8+) with many breaks and switches and last week I got a difference of 1h, around 12 minutes per day. Is this a rounding error? Is there a way to get a report with fractional durations?

I looked at the code briefly but couldn't locate the source of the problem. Since there are two different totals as mentioned before, I imagine total calculation is performed in multiple places.

@toupeira toupeira added the bug label Sep 5, 2014

@gsobczyk gsobczyk added a commit to gsobczyk/hamster that referenced this issue May 20, 2015

@gsobczyk gsobczyk Report total incorrect fix projecthamster/hamster#76 bd5fd6c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment