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

希望支持yyyy和dd #2622

Open
cweijan opened this issue Apr 5, 2024 · 2 comments
Open

希望支持yyyy和dd #2622

cweijan opened this issue Apr 5, 2024 · 2 comments

Comments

@cweijan
Copy link

cweijan commented Apr 5, 2024

从element-ui转到element-plus, 原先的yyyy-MM-dd失效了, 必须写成YYYY-MM-DD, 但是年和日小写的yyyy和dd是标准通用规范, 希望能支持.

不仅仅是旧版本element-ui, 很多语言如Java的日期规范也是如此.

@alexlee002
Copy link

yyyy, YYYY的含义是不一样的
DD好像不是规范用法

@alexlee002
Copy link

dayjs对年份用的是YYYY, 这个是错误的, 正确的应该是yyyy

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

No branches or pull requests

2 participants