mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-25 00:25:04 +08:00
fix: weather timezone
This commit is contained in:
parent
431ebb59c2
commit
4d274df6b2
@ -110,5 +110,6 @@ weatherDaily['daily'].forEach(
|
||||
|
||||
function get_time_hour(fxTime) {
|
||||
// fxTime 2024-05-03T02:00+08:00'
|
||||
fxTime = fxTime.replace("-", "+")
|
||||
return fxTime.split("T")[1].split("+")[0]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user