element [Bug Report] DatePicker week type choosing wrong week when firstDayOfWeek is 2 and the begining of the month is Monday

omqzjyyz  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(102)

Element UI version

2.13.2

OS/Browsers version

Windows 10/Opera 68.0.3618.125

Vue version

2.5.21

https://jsfiddle.net/20btuagp/

Steps to reproduce

  1. DatePicker with firstDayOfWeek: 2
  2. Begining of the month: Monday
  3. Pick e.g. 9-15 June
  4. Get 16-22

What is Expected?

It should pick correct week on every month.

What is actually happening?

When the month begins with 1st Monday and the firstDayOfWeek is Tuesday it picks the next week instead of the correct one.

wn9m85ua

wn9m85ua1#

这个bug目前还是存在

mec1mxoz

mec1mxoz2#

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.

相关问题