Tencent / Tencent/tdesign-miniprogram
[Calendar] 可否新增区间日期选择,开始和结束日期是否可以选择同一天的配置
Open
Nobody has claimed this yet.
question
- Dominant language
- Vue
- Stars
- 1.8k
- Forks
- 337
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 19
Description
这个功能解决了什么问题
部分情况下,需要默认选择当天,所以可以选择今天到今天
你建议的方案是什么
增加开始和结束日期是否可以是同一天的配置
Contributor guide
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
Start at the Calendar component and inspect how interval date selection currently handles its start and end dates. Add a configuration for allowing the same date at both ends, and verify that selecting today as both the start and end works without changing the existing range behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100