fix 本周一时间问题

This commit is contained in:
rickcole 2020-04-09 19:47:42 +08:00
parent 58ab03f0b8
commit b93af8ea6b

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');
}
},