timePieces
function timePieces( locale, showSeconds, hour12): TimePiece[];The pieces of a time field for a locale, in display order.
Only hour, minute, second and dayPeriod survive; anything else the
locale adds is dropped, because this component edits those and nothing else.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
locale | string | undefined |
showSeconds | boolean |
hour12 | boolean |