Parses user-entered trim timestamps.
Accepts plain seconds (90, 90.5), M:SS, MM:SS, H:MM:SS, and optional fractional
seconds on the final segment (1:30.5).
Parameters
input: string
Raw user input.
Returns number
Parsed seconds, or null when the input is invalid.
Parses user-entered trim timestamps. Accepts plain seconds (
90,90.5),M:SS,MM:SS,H:MM:SS, and optional fractional seconds on the final segment (1:30.5).