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

日期选择器默认格式问题 #3091

Closed
1 task
tracy2zhang opened this issue Nov 3, 2020 · 2 comments
Closed
1 task

日期选择器默认格式问题 #3091

tracy2zhang opened this issue Nov 3, 2020 · 2 comments
Labels

Comments

@tracy2zhang
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.0.0-beta.13

Environment

vue3.0.2

Reproduction link

https://2x.antdv.com/components/date-picker-cn/

Steps to reproduce

使用datepicker或rangepicker组件,不传format属性,使用默认的format

What is expected?

显示格式为YYYY-MM-DD

What is actually happening?

显示格式为YYYY-Wo


  1. 可以通过手动设置format为YYYY-MM-DD是没问题的,但是最好还是默认YYYY-MM-DD这种常用格式,而且这样也跟文档一致
  2. 此问题好像是2.0.0-beta11开始有的
@bowencool
Copy link

官方文档就复现了
image

@github-actions
Copy link

github-actions bot commented Nov 4, 2021

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.

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

No branches or pull requests

3 participants