File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 4040 $scope . end = moment ( ) . add ( 1 , 'days' ) . add ( 1 , 'hours' ) ;
4141
4242 $scope . presets = [
43- {
44- 'name' : 'This Week' ,
45- 'start' : moment ( ) . startOf ( 'week' ) . startOf ( 'day' ) ,
46- 'end' : moment ( ) . endOf ( 'week' ) . endOf ( 'day' ) ,
47- } , {
48- 'name' : 'This Month' ,
49- 'start' : moment ( ) . startOf ( 'month' ) . startOf ( 'day' ) ,
50- 'end' : moment ( ) . endOf ( 'month' ) . endOf ( 'day' ) ,
51- } , {
52- 'name' : 'This Year' ,
53- 'start' : moment ( ) . startOf ( 'year' ) . startOf ( 'day' ) ,
54- 'end' : moment ( ) . endOf ( 'year' ) . endOf ( 'day' ) ,
55- }
43+ {
44+ 'name' : 'This Week' ,
45+ 'start' : moment ( ) . startOf ( 'week' ) . startOf ( 'day' ) ,
46+ 'end' : moment ( ) . endOf ( 'week' ) . endOf ( 'day' ) ,
47+ } , {
48+ 'name' : 'This Month' ,
49+ 'start' : moment ( ) . startOf ( 'month' ) . startOf ( 'day' ) ,
50+ 'end' : moment ( ) . endOf ( 'month' ) . endOf ( 'day' ) ,
51+ } , {
52+ 'name' : 'This Year' ,
53+ 'start' : moment ( ) . startOf ( 'year' ) . startOf ( 'day' ) ,
54+ 'end' : moment ( ) . endOf ( 'year' ) . endOf ( 'day' ) ,
55+ }
5656 ] ;
5757
5858 $scope . changed = function ( ) {
You can’t perform that action at this time.
0 commit comments