9 lines
243 B
JavaScript
9 lines
243 B
JavaScript
import Component from '@ember/component';
|
|
import { computed } from '@ember/object';
|
|
import moment from 'moment';
|
|
|
|
export default Component.extend({
|
|
yesterday: computed(() => moment().subtract(1, 'd')),
|
|
today: computed(() => moment()),
|
|
});
|