components icon indicating copy to clipboard operation
components copied to clipboard

feat(matInput): Implement possibility of 24-hour time format

Open leonardokrleza opened this issue 3 years ago • 0 comments
trafficstars

Feature Description

Currently it is possible to use matInput with type="time" but unfortunately it is only available in 12-hour format (AM/PM). Most people then resort to ngx-material-timepicker but it can get problematic, especially inside forms (mat-form-field, etc.). I think that it would be a great additional feature (and simple, at first glance) that would circumvent using two libs for single form.

Use Case

Current time capability: <input matInput type="time">

Suggested capability: <input matInput type="time" timeFormat="24">

leonardokrleza avatar Sep 06 '22 23:09 leonardokrleza