Converts informal UTC offset strings into the ±HH:MM format required by Temporal. Accepts forms like 'UTC+8', 'UTC-9', 'UTC+08:00', 'UTC-05:30'. Returns the input unchanged if it does not match the UTC± pattern.
±HH:MM
'UTC+8'
'UTC-9'
'UTC+08:00'
'UTC-05:30'
The informal offset string
The normalized offset string
Converts informal UTC offset strings into the
±HH:MMformat required by Temporal. Accepts forms like'UTC+8','UTC-9','UTC+08:00','UTC-05:30'. Returns the input unchanged if it does not match the UTC± pattern.