Closed
Description
Describe the bug
如naive官方组件文件demo,https://codesandbox.io/p/sandbox/cmj74x
当datePicker 中类型是range,并且开始时间和结束时间都选了同一天,datePicker返回的值是 [1183135260000,1749783505689]。
期望:
选同一天时,返回的值应该是[当天00:00:00,当天23:59:59]
Steps to reproduce
https://codesandbox.io/p/sandbox/cmj74x
Link to minimal reproduction
https://codesandbox.io/p/sandbox/cmj74x
System Info
windows 10
chrome 137.0.7151.69
pnpm 8.7.0
node 18.19.0
Used Package Manager
pnpm
Validations
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.