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

Hamster 3.0.2 computes very high hours for dates long ago #689

Closed
MatNieuw opened this issue Nov 5, 2021 · 3 comments
Closed

Hamster 3.0.2 computes very high hours for dates long ago #689

MatNieuw opened this issue Nov 5, 2021 · 3 comments

Comments

@MatNieuw
Copy link

MatNieuw commented Nov 5, 2021

When I look at a period of 6 years, Hamster displays for some activities an extremely high number of hours for that activity and for the total, like 131513. The database was build using Hamster 1.0.4. between November 2015 and June 2020, then since yesterday (2021-November) with Hamster 3.0.2 .
It happens already if I select period 2016-November to 2017-November, that tells me 41868 hours total. But 2015-November to 2016-November is OK.
Hamster 1.0.4 never showed this, and computed correct totals.

@MatNieuw
Copy link
Author

MatNieuw commented Nov 5, 2021

Update: I found an un-terminated acivity at 2017-02-02. As soon as I include that day, Hamster shows the incorrect hours.
The reporting period was set from 2017-02-02 to 2017-02-02 , obviously there cannot be more that 24 hours, even in un-terminated activities.
I think best solution is that Hamster reports actual hours for un-terminated activities, from start of activity to the end of the reporting period. Then un-terminated activities will still be easy to find out, e.g. set a en reporting date a year in the future, and keep increasing the start reporting date until the numbers drop significantly.

@GeraldJansen
Copy link
Contributor

I actually rather like current Hamster's behavior because I immediately see an un-terminated activity in the overview at the start of the next working day. Then I still have some chance of remembering the approximate end time and can fix that activity right away. With the older Hamster, I remember not finding such activities until my monthly invoice preparation.

@aquaherd
Copy link
Member

Side note: Finding open ended or uncategorized facts is as easy as:
hamster list 2013-01-01 2024-01-01 | grep '| '

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

No branches or pull requests

3 participants