typing the date manually and then press enter
In date picker
While nzFormat="yyyy-MM-dd"
And I want to not show the time
But the value after press enter
Is 2024 Sept 27 00 00 00
The time is all zero
But when you select it from datepicker
The value is 2024 Sept 27 11:08:07
I want the value of date and time in my code like the select when typing it and then press.enter
Is there anyway for solve it
What is expected?
I want the value of date and time in my code like the select when typing it and then press.enter
Is there anyway for solve it
What is actually happening?
The value after press enter
Is 2024 Sept 27 00 00 00
The time value is all zero.diffrent.than when you select it
Environment
Info
ng-zorro-antd
18.1.1
Browser
Chrome and all.browser
If there is a way to make the value of time be like.when you select date
And I want to show only in the datepicker date yy mm.dd
But when recive value in code.i want time.with it
Reproduction link
https://stackblitz.com/run?file=src%2Fapp%2Fapp.component.ts
Steps to reproduce
typing the date manually and then press enter In date picker While nzFormat="yyyy-MM-dd" And I want to not show the time But the value after press enter Is 2024 Sept 27 00 00 00 The time is all zero But when you select it from datepicker The value is 2024 Sept 27 11:08:07 I want the value of date and time in my code like the select when typing it and then press.enter Is there anyway for solve it
What is expected?
I want the value of date and time in my code like the select when typing it and then press.enter Is there anyway for solve it
What is actually happening?
The value after press enter Is 2024 Sept 27 00 00 00 The time value is all zero.diffrent.than when you select it
If there is a way to make the value of time be like.when you select date And I want to show only in the datepicker date yy mm.dd But when recive value in code.i want time.with it