react-component / react-component/picker
格式化为小时时,面板的时间未正确显示
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 304
- Forks
- 345
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 7
Description
复现步骤:https://codesandbox.io/s/gracious-shockley-q7bxvx?file=/src/App.js
在上面demo,选择日期后,小时面板里的时间显示的是具体的时间,期望是 22:00:00。分和秒为0

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the linked CodeSandbox and start with src/App.js, then reproduce the date selection and inspect the hour-panel display. The fix is complete when the selected hour is shown with minutes and seconds set to zero, such as 22:00:00, while preserving the demonstrated behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100