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

Statistics: Date selection is wrong #266

Open
flecken66 opened this issue Sep 21, 2023 · 0 comments
Open

Statistics: Date selection is wrong #266

flecken66 opened this issue Sep 21, 2023 · 0 comments
Labels
approved Error is approved and can be reproduced bug Something isn't working

Comments

@flecken66
Copy link

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 flecken66 changed the title Statistics: Date selection ist wrong Statistics: Date selection it wrong Sep 21, 2023
@flecken66 flecken66 changed the title Statistics: Date selection it wrong Statistics: Date selection is wrong Sep 21, 2023
@jheubuch jheubuch added bug Something isn't working approved Error is approved and can be reproduced labels Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Error is approved and can be reproduced bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants