|
|
@@ -114,7 +114,7 @@ export default { |
|
|
|
} else if (type === 'today') { |
|
|
|
const e = { |
|
|
|
start: moment() |
|
|
|
.subtract(1, 'day') |
|
|
|
.subtract(0, 'day') |
|
|
|
.format('YYYY-MM-DD 00:00:00'), |
|
|
|
end: todayEnd |
|
|
|
} |
|
|
@@ -123,7 +123,7 @@ export default { |
|
|
|
} else if (type === '7d') { |
|
|
|
const e = { |
|
|
|
start: moment() |
|
|
|
.subtract(7, 'days') |
|
|
|
.subtract(6, 'days') |
|
|
|
.format('YYYY-MM-DD 00:00:00'), |
|
|
|
end: todayEnd |
|
|
|
} |
|
|
|