continuation
continuation copied to clipboard
Textual representation of time incorrect
https://github.com/BYVoid/continuation/blob/73b95521b10211fcc4e64a42d5f60d33c20dc6cb/examples/clock/clock.c.js#L19
text = (h >= 10 ? h : '0' + h) + ':' + (h >= 10 ? m : '0' + m) + ':' + (h >= 10 ? s : '0' + s);
should be:
text = (h >= 10 ? h : '0' + h) + ':' + (m >= 10 ? m : '0' + m) + ':' + (s >= 10 ? s : '0' + s);