1
0
forked from bot/app

fix: weather timezone

This commit is contained in:
Snowykami 2024-04-27 13:18:59 +08:00 committed by GitHub
parent 431ebb59c2
commit 4d274df6b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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]
}
}