nightscout / AndroidAPS

Opensource automated insulin delivery system (closed loop)
https://wiki.aaps.app
GNU Affero General Public License v3.0
725 stars 1.76k forks source link

Can't backdate HW changes in Action Tab to yesterday #3041

Open MowgliChild opened 1 year ago

MowgliChild commented 1 year ago

3103 and now 3201

CAN put today's date and other dates other than yesterday.

CAN'T put yesterday's date (jumps to day before yesterday)

I've tried entering via text and calendar, same result.

Affects CGM, cánula, battery change.

Thanks.

MilosKozak commented 1 year ago

There probably issue with your phone especialy when this happen on 2 very different versions. Android dialog is called to enter date and time. It works. What happen? Screenshot?

MowgliChild commented 1 year ago

Screenshot_20231108_062951_AAPS Screenshot_20231108_062944_AAPS

MowgliChild commented 1 year ago

Thanks for all your work Milos. Great job.

It's S20FE so not a random phone. Easy to replicate (on your phone). You don't need to commit changes. Add via calendar or typing (yesterday is 7th), when you return to confirm screen the date is changed (6th). I don't see a work around. Issue only for yesterday, not any other day. Input method seems identical 3201 and 3103, but honestly I'm not a programmer. I know nothing.

Thanks again.

MilosKozak commented 1 year ago

I works like expected. Sorry I don't know

MowgliChild commented 1 year ago

Super weird. Not a big problem. Feel free to close ticket since its just me then, haha Thanks.

happygirlnyc70 commented 11 months ago

I can confirm that I am seeing this as well on Pixel 4a 5g. Dates are off by 24 when selecting in the calendar. My work around has been to select dates 24 hours ahead of desired date (e.g., for 20Nov2023 I select 21Nov2023). I am on v3.200. I did not have this issue previously.

Jared-Is-Coding commented 5 months ago

I was just referred here from https://github.com/nightscout/AndroidAPS/issues/3264#issue-2183935650

Same issue.