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

Report calculates wrong totals #505

Open
hinricht opened this issue Jan 8, 2024 · 0 comments
Open

Report calculates wrong totals #505

hinricht opened this issue Jan 8, 2024 · 0 comments

Comments

@hinricht
Copy link

hinricht commented Jan 8, 2024

I'm using watson for quite a while now and was happy with it so far! But just now I noticed that the calculated totals reported by watson report were completely off for the last week I worked in 2023:

$ watson log --from 2023-12-18 --to 2023-12-22
Monday 18 December 2023 (6h 25m 44s)
	9e2e084  08:55 to 15:20   6h 25m 44s  project1

Tuesday 19 December 2023 (6h 09m 00s)
	386e1a5  10:00 to 16:09   6h 09m 00s  project1 [sick]

Wednesday 20 December 2023 (6h 34m 16s)
	ae4f5bf  09:35 to 16:09   6h 34m 16s  project1

Thursday 21 December 2023 (5h 24m 26s)
	7732b0e  09:18 to 14:43   5h 24m 26s  project1

So far so good, roughly 24,5 hours by estimation.
But watson report tells me 57,5 hours !

$ watson report --from 2023-12-18 --to 2023-12-22
Mon 18 December 2023 -> Fri 22 December 2023

project1 - 57h 23m 25s
	[sick 6h 09m 00s]

Total: 57h 23m 25s

I am staring at the results for some time and can't figure out what's happening ...?

It also gets even weirder, by every day I increase the --to date I get more hours even though I have no frames after Dec 22th:

$ watson report --from 2023-12-18 --to 2023-12-23
Mon 18 December 2023 -> Sat 23 December 2023

project1 - 81h 23m 25s
	[sick  6h 09m 00s]

Total: 81h 23m 25s

$ watson report --from 2023-12-18 --to 2023-12-24
Mon 18 December 2023 -> Sun 24 December 2023

project1 - 105h 23m 25s
	[sick  6h 09m 00s]

Total: 105h 23m 25s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants