fix(comp:date-picker): range start and and date cover full range #1851
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Checklist
Please check if your PR fulfills the following requirements:
What is the current behavior?
选择时间范围,起始的date均指向了0点0分0秒
What is the new behavior?
选择时间范围,开始时间应该指向日期的0点0分0秒,结束时间应当指向23点59分59秒999毫秒,覆盖完整的范围
针对月、周、年、季度的选择,同样覆盖完整的范围
选择具体的时间时,应当精确到时间的最小单位,例如面板中只支持选择小时和分钟,那要精确到分钟的起始,即开始时间应该是0秒0毫秒,结束时间应该是59秒999毫秒
Other information