1、获取指定时区的偏移毫秒数(相对于UTC)
function getOffsetMilliseconds(
timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone
) {
const timeZoneDate = Intl.DateTimeFormat("zh-CN", {
timeZone,
timeZoneName: "short"
}).format(new Date());
const timeZoneOffset = timeZoneDate.split(" ")[1].slice(3);
const [v1 = 0, v2 = 0