Skip to content

Commit 04f0df2

Browse files
authored
Fix yr weather provider api version (#3248)
Fixes #3227 once more
1 parent f80889d commit 04f0df2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ _This release is scheduled to be released on 2024-01-01._
2525

2626
- Avoid fade out/in on updateDom when many calendars are used
2727
- Fix the option eventClass on customEvents.
28-
- Fix yr API version in locationforecast call (#3227)
28+
- Fix yr API version in locationforecast and sunrise call (#3227)
2929
- Fix cloneObject() function to respect RegExp (#3237)
3030
- Fix newsfeed module for feeds using "a10:updated" tag (#3238)
3131
- Fix issue template (3167)

modules/default/weather/providers/yr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ WeatherProvider.register("yr", {
1818
defaults: {
1919
useCorsProxy: true,
2020
apiBase: "https://api.met.no/weatherapi",
21-
forecastApiVersion: "3.0",
21+
forecastApiVersion: "2.0",
2222
sunriseApiVersion: "3.0",
2323
altitude: 0,
2424
currentForecastHours: 1 //1, 6 or 12

0 commit comments

Comments
 (0)