I have used HTML input type "time" with angular material 2. The format of this field is based on system time format but I want to display only 24 hours formats in the time field.
How can I do that? Please guide.
I have used HTML input type "time" with angular material 2. The format of this field is based on system time format but I want to display only 24 hours formats in the time field.
How can I do that? Please guide.
You are missing code examples for better understanding.
But if I understood correctly, you need to add date pipes, as described on the Angular Documentation
Example: {{dateSelected | date: 'shortTime'}}