There is no issues with system time. The Hand() function for rendering hours is not provided the correct angle.
hand(360*minuteDate.getHours()/12, -10, 50); As Is - > 360*minuteDate.getHours()/12 Should Be - >minuteDate.getHours() % 12 * 30 + minuteDate.getMinutes() / 2 | 0
I got the new values from Mixed Clock example! and it is working as expected with new values
What is your time zone? That off by one hour might be it.
@AkosLukacs started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
There is no issues with system time. The Hand() function for rendering hours is not provided the correct angle.
hand(360*minuteDate.getHours()/12, -10, 50);
As Is - > 360*minuteDate.getHours()/12
Should Be - >minuteDate.getHours() % 12 * 30 + minuteDate.getMinutes() / 2 | 0
I got the new values from Mixed Clock example! and it is working as expected with new values