openhab / openhab-android

openHAB client for Android
https://play.google.com/store/apps/details?id=org.openhab.habdroid
Eclipse Public License 2.0
606 stars 315 forks source link

Incorrect value of AlarmClock #3514

Closed d51x closed 1 year ago

d51x commented 1 year ago

Actual behaviour

Phone time zome GMT+3

For example, current time 20:40 pm (GMT+3)

  1. set an alarm clock no more than 30 minutes later, set alarm clock to 20:43. it is ok. AlarmClock is 17:43 pm (GMT0)
  2. set your alarm 30 minutes in advance, but more than an hour in advance. set alarm clock to 20:59. FAIL. AlarmClock is 18:34 pm (GMT0). 3 hours and 15 minutes difference, not 3 hours
  3. set the alarm for 60 minutes ahead and beyond. FAIL. set alarm clock to 21:40 pm, FAIL. AlarmClock is 17:40 pm. 4 hours difference, not 3

Environment data

Client

Server

Logs

App log

See screenshots ![photo_2023-11-01_20-59-13](https://github.com/openhab/openhab-android/assets/10882718/7a677147-35ff-48df-b3db-3c3f29d3b297) ![photo_2023-11-01_20-59-32](https://github.com/openhab/openhab-android/assets/10882718/ef6012fe-dc1a-4be6-9993-842c9cbf1eec)
d51x commented 1 year ago

I think this is a problem with MIUI 12