Closed ldab closed 10 months ago
As the timezone is currently hadrcoded here: https://github.com/jakkra/ZSWatch/blob/main/app/src/zsw_clock.c#L42 And I assume the time you get from iOS is already corrected we have this issue. Gadgetbridge time is not adjusted. So some solution is needed here to make both work.
As the timezone is currently hadrcoded here: https://github.com/jakkra/ZSWatch/blob/main/app/src/zsw_clock.c#L42 And I assume the time you get from iOS is already corrected we have this issue. Gadgetbridge time is not adjusted. So some solution is needed here to make both work.
Having the timezone hardcoded seems not appropriate, don’t you get it from the app?
As the timezone is currently hadrcoded here: https://github.com/jakkra/ZSWatch/blob/main/app/src/zsw_clock.c#L42 And I assume the time you get from iOS is already corrected we have this issue. Gadgetbridge time is not adjusted. So some solution is needed here to make both work.
Having the timezone hardcoded seems not appropriate, don’t you get it from the app?
Yep, it's just TODO But seems to be there:
As the timezone is currently hadrcoded here: https://github.com/jakkra/ZSWatch/blob/main/app/src/zsw_clock.c#L42 And I assume the time you get from iOS is already corrected we have this issue. Gadgetbridge time is not adjusted. So some solution is needed here to make both work.
Having the timezone hardcoded seems not appropriate, don’t you get it from the app?
Yep, it's just TODO But seems to be there:
so it should be ok to merge this PR, it will fix when the todo is done
This may also work for Android, I don't know, haven't tested
It seems like the clock is adjusting for DST, should I pass one hour less?