我正在使用第三方API,在选择了时区用户的情况下,该事件很少给我提供事件及其计时。但是时区为长字符串格式,我无法将其解析为正确的时区。
我得到的回应
{
"days": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
"times": [
"07:00",
"08:00",
"09:00",
"10:00",
"11:00",
"12:00",
"14:00",
"15:00"
],
"localTimeZoneId": "Central Standard Time",
}
我只想将此Windows格式时区转换为IANA时区格式。