polarofficial / polar-ble-sdk

Repository includes SDK and code examples. More info https://polar.com/en/developers
Other
447 stars 147 forks source link

Android example app - Handling time #380

Open christian-nils opened 1 year ago

christian-nils commented 1 year ago

Platform on which you observed the bug:

Device on which you observed the bug:

Describe the bug Running the Android app example on my Samsung A70, I tried to set and get the time by pressing the dedicated buttons. When pressing "Set time" I get a notification that the time was set (the date-time is correct). When pressing "Get time", I get the same date-time but with 1hr ahead (i.e., if it is actually 9.00, the get time is 10.00). My timezone is GMT+02:00.

How to Reproduce Just build and run the Android app example and press set time followed by get time buttons.

Expected behavior The get time should be the same at set time.

Screenshot

https://github.com/polarofficial/polar-ble-sdk/assets/2658014/6d0dd98e-0efa-4562-ba36-c46a83acdae9