ElemeFE / ElemeFE/element

[Bug Report] when DatePicker set type='week' and picker-options={ 'firstDayOfWeek':3},the result of selection will be wrong

Open
#21,884 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.8

### OS/Browsers version
chrome

### Vue version
2.6.14

### Reproduction Link
https://elementui.github.io/issue-generator

### Steps to reproduce
设置周选择器firstDayOfWeek:3,当月份的1号为周一或周二时,如2022年2月,2022年3月,控件将选中实际选择的下一周

### What is Expected?
周选择器,以周三开始周时,选中值与实际选择保持一致

### What is actually happening?
周选择器,以周三开始周时,选中值为实际选择的下一周

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.