Hacker News new | ask | show | jobs
by mowfask 4770 days ago
In case anyone else wonders why the day-fraction seems to increment once per second: 1/24/60/60 = .00001157

EDIT: Watch it closely and you'll see the bug.

EDIT2: Okay, not really the bug, but @op: how about changing setInterval to 864ms? It really looks nicer ;)