libmateweather: fix dataserver weather url change.
This commit is contained in:
parent
7b61bd303c
commit
bf4c2c4bb8
3 changed files with 99 additions and 0 deletions
|
|
@ -0,0 +1,22 @@
|
|||
From 0cc07f7e5163870bcc2fb7281c28e8e39c9cbc54 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Ovchinnikov <mixao@yandex.ru>
|
||||
Date: Wed, 18 Oct 2023 14:59:53 +0400
|
||||
Subject: [PATCH] Dataserver url changed
|
||||
|
||||
---
|
||||
libmateweather/weather-metar.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libmateweather/weather-metar.c b/libmateweather/weather-metar.c
|
||||
index a9f3c84d..0ae2cbb9 100644
|
||||
--- a/libmateweather/weather-metar.c
|
||||
+++ b/libmateweather/weather-metar.c
|
||||
@@ -550,7 +550,7 @@ metar_start_open (WeatherInfo *info)
|
||||
}
|
||||
|
||||
msg = soup_form_request_new (
|
||||
- "GET", "https://www.aviationweather.gov/adds/dataserver_current/httpparam",
|
||||
+ "GET", "https://www.aviationweather.gov/cgi-bin/data/dataserver.php",
|
||||
"dataSource", "metars",
|
||||
"requestType", "retrieve",
|
||||
"format", "xml",
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
From a61542ffc2d3807dbc3163d1727cc5d8c2118838 Mon Sep 17 00:00:00 2001
|
||||
From: mbkma <johannes.unruh@fau.de>
|
||||
Date: Wed, 11 Jan 2023 20:53:29 +0100
|
||||
Subject: [PATCH] rename Europe/Kiev to Europe/Kyiv
|
||||
|
||||
---
|
||||
data/Locations.xml.in | 9 ++++-----
|
||||
1 file changed, 4 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/data/Locations.xml.in b/data/Locations.xml.in
|
||||
index 8bf9bad..ea75673 100644
|
||||
--- a/data/Locations.xml.in
|
||||
+++ b/data/Locations.xml.in
|
||||
@@ -20627,13 +20627,12 @@
|
||||
<iso-code>UA</iso-code>
|
||||
<fips-code>UP</fips-code>
|
||||
<timezones>
|
||||
- <timezone id="Europe/Kiev">
|
||||
- <obsoletes>Europe/Simferopol</obsoletes>
|
||||
+ <timezone id="Europe/Kyiv">
|
||||
<obsoletes>Europe/Uzhgorod</obsoletes>
|
||||
<obsoletes>Europe/Zaporozhye</obsoletes>
|
||||
</timezone>
|
||||
</timezones>
|
||||
- <tz-hint>Europe/Kiev</tz-hint>
|
||||
+ <tz-hint>Europe/Kyiv</tz-hint>
|
||||
<city>
|
||||
<!-- A city in Ukraine -->
|
||||
<name>Boryspil'</name>
|
||||
@@ -20706,10 +20705,10 @@
|
||||
</city>
|
||||
<city>
|
||||
<!-- The capital of Ukraine.
|
||||
- "Kiev" is the traditional English name.
|
||||
+ "Kyiv" is the traditional English name.
|
||||
The local name in Ukrainian is "Kyyiv".
|
||||
-->
|
||||
- <name>Kiev</name>
|
||||
+ <name>Kyiv</name>
|
||||
<coordinates>50.433333 30.516667</coordinates>
|
||||
<location>
|
||||
<name>Kyiv</name>
|
||||
Loading…
Add table
Add a link
Reference in a new issue