diff --git a/src/components/DateRangePicker.tsx b/src/components/DateRangePicker.tsx index 026f74513..b17ad63e2 100644 --- a/src/components/DateRangePicker.tsx +++ b/src/components/DateRangePicker.tsx @@ -98,15 +98,13 @@ const availableRanges: {[propName: string]: any} = { label: '上周', startDate: (now: moment.Moment) => { return now - .add(-1, 'days') .startOf('week') .add(-1, 'weeks'); }, endDate: (now: moment.Moment) => { return now - .add(-1, 'days') .startOf('week') - .add(-1, 'day') + .add(-1, 'days') .endOf('day'); }, },