ngx-mat-datetime-picker
ngx-mat-datetime-picker copied to clipboard
Disable Seconds on input
Hello everyone, i want to display only 19:20 instead 19:20:44. I don't need to display seconds for the users.
If its possible can help me? Thanks
Just check tutorial/ examples:
https://h2qutc.github.io/angular-material-components/datetimepicker
any update on this? How to hide seconds when date is selected on input field?
Same here...
I solve this in template by using [value]="date.value" and in .ts file use 'date-fns' to format date only to hours
Would be nice to hide seconds in the input field in case they are hidden in the "callendar view".
@Ilijan91 can you show your solution? I'm trying but failing
[value]="toDate.value" on input and use date-fns library [https://date-fns.org/ ] to format value of date how do you need to show