feat: add support for Europe, America, TW,HK,MO servers

This commit is contained in:
Zichao Lin 2024-07-25 21:44:38 +08:00
parent f616944755
commit 510bfdab7a
Signed by: earthjasonlin
GPG Key ID: 406D9913DE2E42FB

@ -31,7 +31,10 @@ const defaultTypeMap = new Map([
const serverTimeZone = new Map([
["prod_gf_cn", 8],
["prod_gf_jp", 8]
["prod_gf_jp", 8],
["prod_gf_us", -5],
["prod_gf_eu", 1],
["prod_gf_sg", 8]
])
const convertTimeZone = (dateTimeStr, fromTimeZoneOffset, toTimeZoneOffset) => {