Format dates with date.js and moment.js. Uses date.js to parse human readable date phrases, and moment to format the rendered output. Should work with any Handlebars, Lo-Dash, underscore, or any template engine that allows helper functions to be registered. Also compatible with verb, assemble and Template.
I'm not 100% certain this is right, but: in my experience helper-date calls nothing but "format" and immediately returns the results, without calling additional moment methods first. This should help address that, but likely needs additional testing.
I'm not 100% certain this is right, but: in my experience helper-date calls nothing but "format" and immediately returns the results, without calling additional moment methods first. This should help address that, but likely needs additional testing.