Parses a human-readable time string into milliseconds.
The time string to parse.
The parsed milliseconds.
// 1000parseTimeString('1s') Copy
// 1000parseTimeString('1s')
// 61000parseTimeString('1m1s') Copy
// 61000parseTimeString('1m1s')
// 3661000parseTimeString('1h 1m 1s') Copy
// 3661000parseTimeString('1h 1m 1s')
// 1000parseTimeString('foo 1s bar') Copy
// 1000parseTimeString('foo 1s bar')
Parses a human-readable time string into milliseconds.