forked from p96170835/amis
fix 本周一时间问题
This commit is contained in:
parent
519645f067
commit
41904464e0
|
@ -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');
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue