diff -r 35cb7200bb0a -r 08ad36c693b1 cms/app-client/app/helpers/short-date.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cms/app-client/app/helpers/short-date.js Tue Jun 28 22:11:38 2016 +0200 @@ -0,0 +1,9 @@ +import Ember from 'ember'; + +export function shortDate(params) { + if(params[0]) { + return params[0].getDate() + '-' + ( params[0].getMonth() + 1 ) + '-' + params[0].getFullYear(); + } +} + +export default Ember.Helper.helper(shortDate);