kvz/phpjs — pull request #54 by markedwards (2012-11-21 19:29:17+00:00)
Title: date.js JSLint compatibility

Changes to the date() function to allow it to pass JSLint, with the following parameters:

/*jslint bitwise: true, nomen: true, sloppy: true, white: true */

I didn't touch the bitwise operations, because I don't understand all of the repercussions.

Note the new _pad function that does not rely on "new Array()".