Commit 99de1b0a authored by William Naslund's avatar William Naslund

added moment date format helper

parent 1cc26969
const { Helper } = require('ember');
module.exports = Helper.helper(function(params) {
if(!params && params.length < 2) return 'base-format-date requires 2 parameters';
let date = moment(params[0]);
return date.format(params[1]);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment