News for hackers. Stuff that matters.
Re:Stop writing milliseconds and hating JavaScript's setTime... by jrockway on Saturday May 14, 2011 @09:02PM (#2549019)
Where are you getting these constants in JavaScript? You can't even trust the built-in "undefined" to actually contain "undefined".

(My point is: a library may be more appropriate in the JavaScript case, because of the lack of constants.)

Re:Stop writing milliseconds and hating JavaScript's setTime... by snissn on Sunday May 15, 2011 @01:35AM (#2549398)
is mytimelibrary.MINUTE what you're getting at?