Parse a Go duration string into milliseconds. Supports signed, fractional, multi-unit values ("1h30m", "-5m", "1.5h"). Returns null on malformed input. Mirrors Go's time.ParseDuration closely enough for spawn's tag values.
Parse a Go duration string into milliseconds. Supports signed, fractional, multi-unit values ("1h30m", "-5m", "1.5h"). Returns null on malformed input. Mirrors Go's time.ParseDuration closely enough for spawn's tag values.