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

DatePicker使用new Date()设置默认时间format格式化有问题 #3794

Open
xinSanta opened this issue Apr 26, 2024 · 0 comments
Open

DatePicker使用new Date()设置默认时间format格式化有问题 #3794

xinSanta opened this issue Apr 26, 2024 · 0 comments

Comments

@xinSanta
Copy link

xinSanta commented Apr 26, 2024

以上DatePicker组件使用new Date()设置默认当天,但是valueFormat: 'YYYY-MM-DD'不起作用,还是带时分秒的

image

但是使用dayjs设置默认值,格式化又是正常的

image

这是什么原因?

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

1 participant