Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

date-range-picker 没有自动调整,出现开始时间晚于结束时间的情况 #5631

Closed
tirelyl opened this issue Jul 30, 2020 · 2 comments · Fixed by #5812
Closed
Assignees

Comments

@tirelyl
Copy link
Contributor

tirelyl commented Jul 30, 2020

Reproduction link

https://jyfkau.run.stackblitz.io

Steps to reproduce

nz-range-picker 组件添加 nzShowTime 属性,开始时间和结束时间都选择同一天,但是开始时间的时分秒比结束时间的时分秒要晚,组件不会自动调整开始时间和结束时间

date-range-picker

What is expected?

nz-range-picker 组件能够正确调整开始时间和结束时间的位置

What is actually happening?

nz-range-picker 组件不能正确调整开始时间和结束时间的位置

Environment Info
ng-zorro-antd 9.3.0
Browser chrome

只在选择时分秒后,组件不能正确调整位置,只选择 '年/月/日' 可以正确调整时间位置

@zorro-bot
Copy link

zorro-bot bot commented Jul 30, 2020

Translation of this issue:

date-range-picker does not automatically adjust the start time to end time later the situation appears

Reproduction link

[Https://jyfkau.run.stackblitz.io] (https://jyfkau.run.stackblitz.io)

Steps to reproduce

To nz-range-picker component to add nzShowTime property, start time and end time to select the same day, but the minutes and seconds of time than the beginning of the end of time to minutes and seconds later, the components will not automatically adjust the start time and end time

! [Date-range-picker] (https://user-images.githubusercontent.com/20921324/88906850-819b9b80-d28a-11ea-9308-3a3e0bb862a6.gif)

What is expected?

Nz-range-picker assembly to correctly adjust the position of the start time and end time

What is actually happening?

Nz-range-picker component can not adjust the position of the start time and end time correct

Environment Info
Ng-zorro-antd 9.3.0
Browser chrome

After selecting only minutes and seconds, the components can not be adjusted in the correct position, just select the 'Year / Month / Day' can be properly adjusted time position

@serapme
Copy link

serapme commented Apr 27, 2022

still exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants