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>
This commit is contained in:
parent
980dd0b209
commit
b5f761666d
1 changed files with 2 additions and 3 deletions
|
|
@ -121,8 +121,8 @@ Singleton {
|
||||||
humidity: json.current.relative_humidity_2m,
|
humidity: json.current.relative_humidity_2m,
|
||||||
windSpeed: json.current.wind_speed_10m,
|
windSpeed: json.current.wind_speed_10m,
|
||||||
isDay: json.current.is_day,
|
isDay: json.current.is_day,
|
||||||
sunrise: json.daily.sunrise[0],
|
sunrise: json.daily.sunrise[0].replace("T", " "),
|
||||||
sunset: json.daily.sunset[0]
|
sunset: json.daily.sunset[0].replace("T", " ")
|
||||||
};
|
};
|
||||||
|
|
||||||
const forecastList = [];
|
const forecastList = [];
|
||||||
|
|
@ -218,7 +218,6 @@ Singleton {
|
||||||
target: Config.services
|
target: Config.services
|
||||||
}
|
}
|
||||||
|
|
||||||
// Refresh current location hourly
|
|
||||||
Timer {
|
Timer {
|
||||||
interval: 3600000 // 1 hour
|
interval: 3600000 // 1 hour
|
||||||
running: true
|
running: true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue