angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.31k stars 6.73k forks source link

[Datepicker] formControl value should have time changed, not only the date #14783

Open argygkou opened 5 years ago

argygkou commented 5 years ago

What is the expected behavior?

Binding mat-datepicker to FormControl changes the date but not the time resulting in the same time in every date object I save. example: "YYYY-MM-DDT00:00:00.000Z" So if I have to compare values from the same date I can't do it. Is there any option so the datePicker can give the exact time when I choose a date?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 7.2.0, Material 7.2.1

angular-robot[bot] commented 2 years ago

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot[bot] commented 2 years ago

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.