From 04f0df269a6c8350e2ecdc0a509c0614bf862413 Mon Sep 17 00:00:00 2001 From: Veeck Date: Tue, 24 Oct 2023 00:46:25 +0200 Subject: [PATCH] Fix yr weather provider api version (#3248) Fixes #3227 once more --- CHANGELOG.md | 2 +- modules/default/weather/providers/yr.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c683576a4a..7d51dd18d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,7 +25,7 @@ _This release is scheduled to be released on 2024-01-01._ - Avoid fade out/in on updateDom when many calendars are used - Fix the option eventClass on customEvents. -- Fix yr API version in locationforecast call (#3227) +- Fix yr API version in locationforecast and sunrise call (#3227) - Fix cloneObject() function to respect RegExp (#3237) - Fix newsfeed module for feeds using "a10:updated" tag (#3238) - Fix issue template (3167) diff --git a/modules/default/weather/providers/yr.js b/modules/default/weather/providers/yr.js index c82e8e6254..150683c274 100644 --- a/modules/default/weather/providers/yr.js +++ b/modules/default/weather/providers/yr.js @@ -18,7 +18,7 @@ WeatherProvider.register("yr", { defaults: { useCorsProxy: true, apiBase: "https://api.met.no/weatherapi", - forecastApiVersion: "3.0", + forecastApiVersion: "2.0", sunriseApiVersion: "3.0", altitude: 0, currentForecastHours: 1 //1, 6 or 12