Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] there is problem with first-day-of-week in calendar #20897

Closed
chichi12311111 opened this issue Apr 1, 2021 · 1 comment · Fixed by #21057
Closed

[Bug Report] there is problem with first-day-of-week in calendar #20897

chichi12311111 opened this issue Apr 1, 2021 · 1 comment · Fixed by #21057
Assignees

Comments

@chichi12311111
Copy link

Element UI version

2.15.1

OS/Browsers version

chrome 89.0.4389.114

Vue version

2.6.12

Reproduction Link

https://codepen.io/chichi12311111/pen/VwPPBKX

Steps to reproduce

当前时间4月1日(周四),设置first-day-of-week的值为5

What is Expected?

当前时间为周五,时间向前推一个周期显示

What is actually happening?

当前日期变成了周五,时间还是4月1日

@element-bot element-bot changed the title [Bug Report] there is problem width first-day-of-week in calendar [Bug Report] there is problem width first-day-of-week in calendar Apr 1, 2021
@element-bot
Copy link
Member

Translation of this issue:

Element UI version

2.15.1

OS/Browsers version

chrome 89.0.4389.114

Vue version

2.6.12

Reproduction Link

https://codepen.io/chichi12311111/pen/VwPPBKX

Steps to reproduce

The current time is April 1 (Thursday). Set the value of first day of week to 5

What is Expected?

The current time is Friday, and the time is pushed forward one cycle

What is actually happening?

The current date is Friday, and the time is April 1

@chichi12311111 chichi12311111 changed the title [Bug Report] there is problem width first-day-of-week in calendar [Bug Report] there is problem with first-day-of-week in calendar Apr 1, 2021
@cs1707 cs1707 self-assigned this Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants