ember-intl
Version:
A internationalization toolbox for ambitious applications.
17 lines (13 loc) • 372 B
JavaScript
/**
* Copyright 2015, Yahoo! Inc.
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
import BaseHelper from './-format-base';
export default BaseHelper.extend({
format(params, hash) {
return this.intl.formatRelative(params, hash);
},
compute(params, hash = {}) {
return this._super(params, hash);
},
});