fix 本周一时间问题

This commit is contained in:
rickcole 2020-04-09 19:47:42 +08:00
parent 519645f067
commit 41904464e0
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ const availableShortcuts: {[propName: string]: any} = {
thisweek: {
label: '本周一',
date: (now: moment.Moment) => {
return now.startOf('week').add(-1, 'weeks');
return now.startOf('week').startOf('day');
}
},