Bug 723 - Statistics and daily limit weirdness
Status:
NEW
Component:
Core
Version:
cvs
Hardware:
PC Windows XP
Importance:
P4 normal
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Apr 1 2008 21:27:44 UTC
by:
Kees-Jan Dijkzeul
Modified:
Aug 3 2011 11:41:17 UTC
CC List:
Mikhail Kolesnik
IdWhoWhenSizeType
129Statistics april 1st
Statistics april 1st
Kees-Jan DijkzeulApr 1 2008 21:30:55 UTC26868image/png
130Statistics april 2nd
Statistics april 2nd
Kees-Jan DijkzeulApr 1 2008 21:31:20 UTC26778image/png
WhoWhenWhatRemovedAdded
Mikhail KolesnikAug 3 2011 11:41:17 UTCccMikhail Kolesnik
Description
Kees-Jan Dijkzeul  Apr 1 2008 21:27:44 UTC
This is with daily build 20080327

I just had a daily limit (restbreak was way overdue), the break window appeared, I clicked postpone.

Now, WR has literally started a new day for me: I am allowed to do a full days work, and in the statistics window, data is updated for april 2nd, even though it is still april 1st (no joke, though). According to the statistics window, I worked today until 3.59 AM (even though it is not yet that late). On april 2nd, I have already worked from 4.04 am to 4:23 am (though I hope to be asleep by then.

Navigating the calendar is also weird. Example testcase:
- Select today (april 1st)
- Click "left arrow" three times.
- Click "right arrow" four times.

Expected result:
- Considering that there are statistics for april 2nd, I'd expect to end up at april 2nd.

Actual result:
- Any click beyond the third does not have any effect. We will not go to april 2nd.
- Workaround: leave the "right arrow" button and enter it again. Then click. We are now at april 2nd.

See also attached screenshots.
Comment 1
Kees-Jan Dijkzeul  Apr 1 2008 21:30:55 UTC
Created attachment 129
Statistics april 1st
Comment 2
Kees-Jan Dijkzeul  Apr 1 2008 21:31:20 UTC
Created attachment 130
Statistics april 2nd
Comment 3
Kees-Jan Dijkzeul  Apr 2 2008 08:04:18 UTC
This bug may be related to the fact that I have been messing with timezones. Most of this problem happened at 21.00, which is exactly 4.00 on april 2nd in Japan, the timezone that was current when WR was started. However, I cannot help but feel that if I change timezone, WR should adapt somehow.

Anyway. Today is April 2nd, I have rebooted my machine, so all should be well. Except that WR apparently has started yet another new day: I have a full day of work ahead of me (I'd expected yesterdays work to be subtracted). It is just that I am unable to find "today" in the statistics. The data for April 2nd are frozen and not updated any more (as they would be when workrave thought today was April 2nd). April 3rd does not yet exist (clicking on it shows empty statistics), but there is a day after April 2nd: The "right arrow" button is not grayed out, though it doesn't actually do anything.

Comment 4
Mikhail Kolesnik  Aug 3 2011 11:41:17 UTC
Have the same issue. I've installed WR before switched my local time zone.
Now I've deleted the settings folder and regestry entries and restarted WR. It started a brand new day. Will see how it goes.