mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 21:19:01 +08:00
fix 本周一时间问题
This commit is contained in:
parent
58ab03f0b8
commit
b93af8ea6b
@ -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
Block a user