AndroidAPS icon indicating copy to clipboard operation
AndroidAPS copied to clipboard

History Browser date picker substracts one day (Android 14)

Open Jared-Is-Coding opened this issue 1 year ago • 7 comments

Hey everyone. Noticing that when browsing historical data using the History Browser from the preferences dropdown, the date selection menu will subtract one day from the highlighted day after pressing "OK".

Build: c31617fd2c-2023.12.15 (3.2.0.2) Android Version 14 (UQ1A.240205.002, February 5th)

  1. Open top-right dropdown
  2. Select History browser
  3. Select a date
  4. Tap "OK"

What should happen: Date selected is presented What actually happens: One day prior to the selected date is presented

Let me know if further information is needed.

Example: 1 2

Jared-Is-Coding avatar Mar 13 '24 12:03 Jared-Is-Coding

Can't reproduce this problem on AAPS version 3.2.0.4 or current v3.3 dev builds. So, either the problem was fixed or what you are seeing is specific to your setup?

Suggest upgrading to AAPS release version 3.2.0.4 to see if this solves your problem.

vanelsberg avatar May 13 '24 18:05 vanelsberg

Can't reproduce this problem on AAPS version 3.2.0.4 or current v3.3 dev builds. So, either the problem was fixed or what you are seeing is specific to your setup?

Suggest upgrading to AAPS release version 3.2.0.4 to see if this solves your problem.

Will attempt now.

Jared-Is-Coding avatar May 13 '24 18:05 Jared-Is-Coding

Can't reproduce this problem on AAPS version 3.2.0.4 or current v3.3 dev builds. So, either the problem was fixed or what you are seeing is specific to your setup?

Suggest upgrading to AAPS release version 3.2.0.4 to see if this solves your problem.

Now on the latest master (3.2.0.4) and still seeing this issue. Additional information: Pixel 7a, Android 14.

In addition to the initial bug report repro steps, I'm also able to produce the issue with these steps:

  1. Open Action tab
  2. Select CGM Sensor Insert
  3. Open date picker
  4. Tap "OK"

The resulting selected date is one less than the one that was selected (e.g. I select today, the 13th, and it then has picked the 12th). It appears to happen in any date picker.

Jared-Is-Coding avatar May 13 '24 18:05 Jared-Is-Coding

In addition to the initial bug report repro steps

Still no repro on my side (Samsung S22 Ultra, Android 14, TZ=CEST) Did you check your phones date/time settings (region, Timezone, automatic date-time), anything unusual?

vanelsberg avatar May 13 '24 18:05 vanelsberg

In addition to the initial bug report repro steps

Still no repro on my side (Samsung S22 Ultra, Android 14, TZ=CEST) Did you check your phones date/time settings (region, Timezone, automatic date-time), anything unusual?

Nothing out of place that I notice. The time of day has no effect on this selection bug, either, so I don't think it's a timezone thing.

Jared-Is-Coding avatar May 13 '24 19:05 Jared-Is-Coding

I can confirm this behavior.on Pixel 4a 5G. Also same thing happens with insert CGM see issue 3041. I'm currently on AAPS 3.2.0.4.

happygirlnyc70 avatar May 26 '24 11:05 happygirlnyc70

I have this issue as well. It is happening everywhere the date can be picked. I have tested with date on history browser and careportal buttons on action tab.

Whaterver date I pick in date picker popup. After pressing OK, the date is changed to one day before.

Using Samaung S24 Ultra Android 14 with AAPS 3.2.0.4

Knighth4wk avatar Jun 14 '24 02:06 Knighth4wk

What is your timezone/language setting? I cannot replicate the issue

MilosKozak avatar Nov 13 '24 13:11 MilosKozak

What is your timezone/language setting? I cannot replicate the issue

Timezone is EST/GMT-5. Language is en-US.

Jared-Is-Coding avatar Nov 13 '24 13:11 Jared-Is-Coding

OK, I see the issue when I set GMT-5 on phone

MilosKozak avatar Nov 13 '24 13:11 MilosKozak

OK, I see the issue when I set GMT-5 on phone

Excellent. Any more information needed to reproduce, or do you have it happening consistently?

Jared-Is-Coding avatar Nov 13 '24 13:11 Jared-Is-Coding

I am also GMT-5

On Wed, Nov 13, 2024, 08:50 Jared Harrison @.***> wrote:

OK, I see the issue when I set GMT-5 on phone

Excellent. Any more information needed to reproduce, or do you have it happening consistently?

— Reply to this email directly, view it on GitHub https://github.com/nightscout/AndroidAPS/issues/3264#issuecomment-2473677877, or unsubscribe https://github.com/notifications/unsubscribe-auth/APWGZJXQM3CKWDJGBND4IAL2ANKLZAVCNFSM6AAAAABEUC74RSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZTGY3TOOBXG4 . You are receiving this because you commented.Message ID: @.***>

happygirlnyc70 avatar Nov 13 '24 14:11 happygirlnyc70

it seems to be a bug in google's library. Reported https://github.com/material-components/material-components-android/issues/4373

MilosKozak avatar Nov 13 '24 15:11 MilosKozak