pass bo_client to ember 2.8, adjust for the hack around the aupac-typeahead bug in 2.8 (c.f. https://github.com/aupac/ember-aupac-typeahead/issues/23)
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);