AsteroidOS / asteroid-launcher

AsteroidOS launcher and Wayland compositor based on Qt5, QML and QtWayland via Lipstick.
Other
45 stars 34 forks source link

watchfaces: Fix issue where the month isn't updated. #119

Closed MagneFire closed 1 year ago

MagneFire commented 1 year ago

The getDate() function returns the day of the month (^1) so it will never change when the month is changed. Which can naturally happen when the month is changed in the settings app or synchonized. This adds the usage of getMonth() to the relevant watchfaces to fix this issue.

(This is a draft PR until I've actually tested this completely)

eLtMosen commented 1 year ago

Tested and works for me®