File: Fix-Pristina-Kosovo-timezone-name.patch

package info (click to toggle)
libgweather4 4.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 53,304 kB
  • sloc: xml: 43,729; ansic: 10,088; python: 161; sh: 50; makefile: 18; javascript: 5
file content (30 lines) | stat: -rw-r--r-- 954 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: Jeremy Bicha <jeremy.bicha@canonical.com>
Date: Mon, 7 Aug 2023 14:45:22 -0400
Subject: Fix Pristina Kosovo timezone name

CET isn't in Debian's tzdata

Kosovo itself doesn't have its own entry
so we have to follow tzdata and use Belgrade

Forwarded: https://gitlab.gnome.org/GNOME/libgweather/-/merge_requests/278
---
 data/Locations.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/Locations.xml b/data/Locations.xml
index 96e2e73..813ba21 100644
--- a/data/Locations.xml
+++ b/data/Locations.xml
@@ -18279,9 +18279,9 @@
       <fips-code>KV</fips-code>
       <timezones>
         <!-- Pristina isn't in the Europe area of tzdata -->
-        <timezone id="CET" />
+        <timezone id="Europe/Belgrade" />
       </timezones>
-      <tz-hint>CET</tz-hint>
+      <tz-hint>Europe/Belgrade</tz-hint>
       <location>
         <name>Pristina International Airport "Adem Jashari"</name>
         <code>BKPR</code>