Merge pull request #541 from RickCole21/master

fix 本周一时间问题
This commit is contained in:
liaoxuezhi 2020-04-09 19:49:26 +08:00 committed by GitHub
commit 853e4a423d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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');
}
},