[bug report] when firstdayofweek is not 1, for example, 3 and type is week, the week of the first or last row will be selected incorrectly
Open
- Dominant language
- Vue
- Stars
- 54k
- Forks
- 14.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Element UI version
2.15.0
### OS/Browsers version
MacBook Pro (Retina, 15-inch, Mid 2015) / chrome 88.0.4324.96(正式版本) (x86_64)
### Vue version
2.5.17
### Reproduction Link
codepen.io/ziyoung/pen/rRKYpd
### Steps to reproduce
1. 类型为week时
2. 设置firstDayOfWeek为2(或者别的值)
3. 在二月份点击选择一个周,如2月9日到2月15日
4. 再次点开弹窗,发现选中的周向下偏移了一行
### What is Expected?
设置firstDayOfWeek为非默认值时,在二月份选择器选中一周后再次打开弹窗,选中的一行与之前保持一致
### What is actually happening?
设置firstDayOfWeek为非默认值时,在二月份选择器选中一周后再次打开弹窗,选中的周向下偏移了一行
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.