traewelldroid icon indicating copy to clipboard operation
traewelldroid copied to clipboard

Statistics: Date selection is wrong

Open flecken66 opened this issue 2 years ago • 0 comments

Describe the bug The date selection on the statistics page uses an incorrect interval. An open interval is used, but a closed interval should be used. (https://en.m.wikipedia.org/wiki/Interval_(mathematics)#Definitions)

That means when I select a timeperiod I only get the statistics between the start and end date but not from the start and end date. This is not very intuitive and creates the edge case when start and end date are identical you never get any stats.

Screenshots

19.09. - 21.09 (today) - no statistics

19.09. - 22.09 (tomorrow) - Statistics are available

Daily overview from 21.09 (today) with 5 check-ins

Smartphone:  - Device: Pixel 7  - OS: Android 13  - Version: v2.1.4-play (126)

flecken66 avatar Sep 21 '23 21:09 flecken66