github.com/zoomfoo/nomad@v0.8.5-0.20180907175415-f28fd3a1a056/ui/app/components/freestyle/sg-timeline.js (about)

     1  import Component from '@ember/component';
     2  import { computed } from '@ember/object';
     3  import moment from 'moment';
     4  
     5  export default Component.extend({
     6    yesterday: computed(() => moment().subtract(1, 'd')),
     7    today: computed(() => moment()),
     8  });