open-nomad/ui/app/components/freestyle/sg-timeline.js

9 lines
243 B
JavaScript
Raw Normal View History

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