Charm icon indicating copy to clipboard operation
Charm copied to clipboard

Events editor get wrong when opened and day change.

Open pasnox opened this issue 9 years ago • 6 comments

If u let open the "Events Editor" dialog during your work and a day pass to the next, then the dialog is not reliable anymore. By example, the "Today" entry will still refer to yesterday and not the real Today date. We need to close and reopen the dialog to make it works correctly.

pasnox avatar Feb 08 '16 08:02 pasnox

I tried to reproduce the behaviour. For me the event is listed in yesterday and today, but the duration is still counted for the previous day.

TheOneRing avatar Mar 17 '16 13:03 TheOneRing

That's correct, we display the event for both days currently (originally only the first day, changed to show it for both not too long ago). One could imagine to split the event at day boundaries when doing the daily sums for display (as long nothing is counted twice for the weekly sum etc...).

I think @pasnox sees an issue though with the event editor's filter not moving to the next day correctly when it stays open over midnight?

frankosterfeld avatar Mar 17 '16 14:03 frankosterfeld

The event editor was updated a few seconds after midnight.

TheOneRing avatar Mar 17 '16 16:03 TheOneRing

@pasnox Which release or commit are you using?

frankosterfeld avatar Mar 17 '16 16:03 frankosterfeld

The code checks the date every 60 seconds, so 00:01 latest the view should update. Confirmed to work here on OS X, timezone CET, current master.

frankosterfeld avatar Mar 17 '16 16:03 frankosterfeld

Let close this issue, can not reproduce anymore.

pasnox avatar Jul 27 '18 12:07 pasnox