1.1.0 • Published 9 years ago
helper-moment-handlebars v1.1.0
{{moment}}
This is a forked version of https://www.npmjs.com/package/handlebars-helper-moment the only difference being the moment.js file in root. Combining the powers of Assemble, Handlebars.js and Moment.js. This helper leverages Moment.js to provide ultimate control over manipulating time and dates in your templates.
Quickstart
Install the helper:
npm i helper-moment-handlebars --save-dev
Now add the helper to Assemble's options:
assemble: {
options: {
// Assemble will automatically resolve the path
helpers: ['helper-moment-handlebars', 'foo/*.js']
}
}
Original Author
Mikko Tapionlinna
License
Copyright (c) 2014 Mikko Tapionlinna, contributors. Released under the MIT license