Tuesday, June 10, 2014

Whatever: the objects moment.js makes are not JavaScript dat...

Whatever: the objects moment.js makes are not JavaScript dat...: Cast them back to plain Jane dates like so: var lastHalloween = moment().subtract('year', 1).toDate();

No comments:

Post a Comment