From 4d274df6b284a8edafd624b72fd2184a75a7b99e Mon Sep 17 00:00:00 2001 From: Snowykami <79104275+snowykami@users.noreply.github.com> Date: Sat, 27 Apr 2024 13:18:59 +0800 Subject: [PATCH] fix: weather timezone --- .../resources/liteyuki_weather/templates/js/weather_now.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/liteyuki/resources/liteyuki_weather/templates/js/weather_now.js b/liteyuki/resources/liteyuki_weather/templates/js/weather_now.js index 86ce2fc6..aafdd91c 100644 --- a/liteyuki/resources/liteyuki_weather/templates/js/weather_now.js +++ b/liteyuki/resources/liteyuki_weather/templates/js/weather_now.js @@ -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] -} \ No newline at end of file +}