timer-machine-android icon indicating copy to clipboard operation
timer-machine-android copied to clipboard

statistics for timer starting on one day and ending another inconsistent

Open Emilv2 opened this issue 2 years ago • 5 comments

Screenshot_2023-09-13-18-22-32-03_8f43e9927574d4d5ed1228b7559896c8_1 Screenshot_2023-09-13-18-22-36-25_8f43e9927574d4d5ed1228b7559896c8_1

The dots on the calendar show timers ended on that day, but the list below shows timers started on that day. I'm not sure which one is the best way, but I'd say it should at least be consistent.

Emilv2 avatar Sep 13 '23 10:09 Emilv2

The list below shows the start time and end time. When an event starts in one day and ends on the second day, the app considers it an event on the second day. The event in your screenshot began at 22:32 on 10th August and ended at 4:54 on 11th.

DeweyReed avatar Sep 16 '23 00:09 DeweyReed

In that case I would say the bug is in the "dots view" on top: There is no blue dot on the 11th although there's a timer ending on that day. There are 3 dots on the 10th, but only 2 events end on the 10th. Screenshot_2023-09-13-18-22-36-25_8f43e9927574d4d5ed1228b7559896c8_1_1

Emilv2 avatar Sep 16 '23 02:09 Emilv2

You're right about the bug. Thank you!

The app calculates the dots in the calendar by the start time of timers but calculates the events in a day by the end time of timers.

I'm going to calculate everything by the end time. Is there anything that I still need to consider?

DeweyReed avatar Sep 18 '23 00:09 DeweyReed

Thanks!

Since you're asking, maybe a way to have timers ending close after midnight count for the previous day. Something like this setting in Ankidroid: Screenshot_2023-09-23-13-46-39-33_a9eef3a2a561b80d5c76daebd0f9a14c

But it would just be a small cosmetic improvement, nothing super important to me.

Emilv2 avatar Sep 23 '23 06:09 Emilv2

The setting to set the start of a day is helpful to those who end their day after midnight. I'll see what I can do. Thank you!

DeweyReed avatar Sep 25 '23 10:09 DeweyReed