From 3d1cd02f27518f1a04374c7c8320cd5d82ede6e9 Mon Sep 17 00:00:00 2001 From: Minteck Date: Thu, 23 Feb 2023 19:34:56 +0100 Subject: Updated 40 files, added 37 files, deleted 1103 files and renamed 3905 files (automated) --- includes/ical/bin/timezones.php | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 includes/ical/bin/timezones.php (limited to 'includes/ical/bin/timezones.php') diff --git a/includes/ical/bin/timezones.php b/includes/ical/bin/timezones.php deleted file mode 100644 index 3bf3708..0000000 --- a/includes/ical/bin/timezones.php +++ /dev/null @@ -1,20 +0,0 @@ - - * @license http://www.opensource.org/licenses/mit-license.php MIT License - */ -$windows_timezones = []; -$windowstimezonexml = new DOMDocument(); -$windowstimezonexml->load('https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml'); -$zones = $windowstimezonexml->getElementsByTagName('mapZone'); -foreach ($zones as $zone) { - if ($zone->getAttribute('territory') === '001') { - $windows_timezones[$zone->getAttribute('other')] = $zone->getAttribute('type'); - } -} - -file_put_contents(__DIR__ . '/../src/WindowsTimezones.php', "