open-nomad/ui/app/components/freestyle/sg-timeline.js
2018-06-29 18:33:23 -07:00

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()),
});