fromISO
function fromISO(value): | TimeParts | null;Parse HH:mm or HH:mm:ss.
Anything else is null — including 2:30 PM, which is a display format.
Accepting it would make the prop’s meaning depend on the locale.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
value | string |
Returns
Section titled “Returns”| TimeParts
| null