- First implementation of filter for languages.
- Language is now an array in the document
- various corrections linked to the above change
- Simplify the IndexDocumet loop
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);