Hi,
Great work and thanks for this clock !
It works great, but I have however noticed that with timezones that are over 9 hours offset, the hourCorrection is not working properly.
This issue can be reproduced with an hourCorrection of 12 (Pacific/Nauru for example).
The problem lies within the function numberCorrection on line 340 :
Hi, Great work and thanks for this clock ! It works great, but I have however noticed that with timezones that are over 9 hours offset, the
hourCorrection
is not working properly. This issue can be reproduced with anhourCorrection
of 12 (Pacific/Nauru for example). The problem lies within the functionnumberCorrection
on line 340 :This will return 1 instead of 12. Fix would be to replace
num.charAt(1)
withnum.substr(1)
to return the correct number.