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

[Component] [calendar] Calendar 设置国际化为中文是 周第一天还是周日 #12654

Closed
zhaoyunqi888 opened this issue Apr 28, 2023 · 2 comments

Comments

@zhaoyunqi888
Copy link

zhaoyunqi888 commented Apr 28, 2023

Bug Type: Component

Environment

  • Vue Version: 3.2.47
  • Element Plus Version: 2.3.4
  • Browser / OS: Chrome 111
  • Build Tool: Vite

Reproduction

Related Component

  • el-calendar

Reproduction Link

Docs CN

Steps to reproduce

Calendar 设置国际化为中文是 周第一天还是周日
import zhCn from "element-plus/es/locale/lang/zh-cn";
import "dayjs/locale/zh-cn";
const app = createApp(App);
app.use(ElementPlus, { locale: zhCn })

按此设置 DatePicker 和 TimePicker 周第一天正常为周一

Calendar 周第一天仍未周日

What is Expected?

设置后 周第一天正常为周一

What is actually happening?

设置后 周第一天正常为周日

Additional comments

(empty)

@chenxch
Copy link
Member

chenxch commented Apr 28, 2023

#8007 #10200

Thank you very much for your question. In the future, please do not hesitate to ask me if you have any questions. However, before asking, if you could try searching for related questions, it will help you find the answer more quickly and save us some unnecessary processing.

@chenxch chenxch closed this as not planned Won't fix, can't repro, duplicate, stale Apr 28, 2023
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。

@github-actions github-actions bot locked and limited conversation to collaborators May 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants