[BUG] DatePicker.EmbedDatePicker validRange的范围与预期不符
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 611
- PR merge metrics
- No merged PRs in 30d
Description
### ⌨️
- [ ] Would you like to work on a fix?
### Where is the bug from?
Fusion Mobile
### Minimal code and steps to reproduce the bug
### Current and expected behavior
- 用户只能选择到04年1月1日,但是组件展示不止1月1号

- 如果改成 dayjs('2004-01-01 08:00:00').toDate(),或者new Date('2004-01-01'),就是符合预期的
### Environment
最新
### build.json
_No response_
### Possible solution
- 如果改成 dayjs('2004-01-01 08:00:00').toDate(),或者new Date('2004-01-01'),就是符合预期的
### Additional context
_No response_
Contributor guide
Research direction
Start at the Fusion Mobile DatePicker.EmbedDatePicker entry point and reproduce the issue with the supplied validRange dates, comparing the displayed range with the selection limit. Done means the component displays and permits dates only through 2004-01-01 without requiring a time-adjusted date value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100