Open jmjlbmn opened 4 years ago
Translation of this issue:
2.13.2
Windows 10 2004/ Microsoft Edge 83.0.478.54
2.6.11
https://codepen.io/jmjlbmn/pen/LYGWJvE
first DayOfWeek:1 type :week the value is Tuesday
Select week mode and set firstdayofweek = 1 to get the value of Tuesday
According to firstdayofweek, the value is the first day of the week
Ignoring firstdayofweek, fixed value is the second day of every week
+1 同出现 设置了firstdayofweek 为周一就有问题
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Element UI version
2.13.2
OS/Browsers version
Windows 10 2004/ Microsoft Edge 83.0.478.54
Vue version
2.6.11
Reproduction Link
https://codepen.io/jmjlbmn/pen/LYGWJvE
Steps to reproduce
firstDayOfWeek:1 type:week the value is Tuesday
选择周模式,设置 firstDayOfWeek=1 获取到的值是周二的日期
What is Expected?
根据firstDayOfWeek 得到的值是每周第一天
What is actually happening?
忽略了firstDayOfWeek, 固定取值是每周第二天