Wednesday, October 9, 2013

Moment.js

...is "for parsing, validating, manipulating, and formatting dates" and can do things like subtract one date from another. It also helps with creating a date from a magic string which (by way of default JavaScript) otherwise requires different formats in different browsers. Google Chrome has a different cast-me-to-a-date-friendly string format than Safari at an iPad.

No comments:

Post a Comment