You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 an
hourCorrection
of 12 (Pacific/Nauru for example).The problem lies within the function
numberCorrection
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.The text was updated successfully, but these errors were encountered: