From b5f761666db40b71b15291956fc3ba3e283bd781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Legu=C3=A9?= Date: Sat, 28 Mar 2026 11:56:38 -0400 Subject: [PATCH] fix: weather not using system timezone (#1346) * adjusted weather.qml to ensure that it tracks system local time and date while ignoring API times if using VPN * adjusted weather.qml to ensure that it tracks system local time and date while ignoring API times if using VPN --------- Co-authored-by: Chris <102560999+ItsABigIgloo@users.noreply.github.com> Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> --- services/Weather.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/services/Weather.qml b/services/Weather.qml index b74ae55f..40c4d895 100644 --- a/services/Weather.qml +++ b/services/Weather.qml @@ -121,8 +121,8 @@ Singleton { humidity: json.current.relative_humidity_2m, windSpeed: json.current.wind_speed_10m, isDay: json.current.is_day, - sunrise: json.daily.sunrise[0], - sunset: json.daily.sunset[0] + sunrise: json.daily.sunrise[0].replace("T", " "), + sunset: json.daily.sunset[0].replace("T", " ") }; const forecastList = []; @@ -218,7 +218,6 @@ Singleton { target: Config.services } - // Refresh current location hourly Timer { interval: 3600000 // 1 hour running: true