-
• #2
Sat 2020.01.11
Has this setting been tried before upload?
WebIDE >> Communications >> Set Current Time
-
• #3
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 | 0I got the new values from Mixed Clock example! and it is working as expected with new values
-
• #4
What is your time zone? That off by one hour might be it.
-
• #5
I’m in UK time zone. Anyway I have fixed the problem by adjusting the hand arm angle. See my previous comment.
-
• #6
Thanks! That was a really stupid mistake of mine!
Would you be able/willing to send a GitHub PR to fix it, or shall I do it?
-
• #7
Yes, I will send the PR in day or two.
Just noticed that there is an issue in Analog Clock app. It is showing in correct time.
At the time of the post, the time was 14:45 PM but clock face was showing 1:54 PM
https://www.espruino.com/ide/emulator.html?codeurl=https://banglejs.com/apps/apps/aclock/clock-analog.js&upload.
Attached the reference!!
1 Attachment