mirror of
https://github.com/earthjasonlin/zzz-signal-search-export.git
synced 2024-11-22 21:30:22 +08:00
feat: add support for Europe, America, TW,HK,MO servers
This commit is contained in:
parent
f616944755
commit
510bfdab7a
@ -31,7 +31,10 @@ const defaultTypeMap = new Map([
|
|||||||
|
|
||||||
const serverTimeZone = new Map([
|
const serverTimeZone = new Map([
|
||||||
["prod_gf_cn", 8],
|
["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) => {
|
const convertTimeZone = (dateTimeStr, fromTimeZoneOffset, toTimeZoneOffset) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user