diff options
author | RaindropsSys <raindrops@equestria.dev> | 2024-03-30 23:40:33 +0100 |
---|---|---|
committer | RaindropsSys <raindrops@equestria.dev> | 2024-03-30 23:40:33 +0100 |
commit | 6b796258d413f00e498ce7f80f73a9f6c061f29c (patch) | |
tree | 49e64a5dd4cde2acff7f0a93ed3f8e20e1cb2dc8 /includes/composer/vendor/om/icalparser/bin/timezones.php | |
parent | 5860551daa0f60103ad24e93da29f401a653f144 (diff) | |
download | pluralconnect-6b796258d413f00e498ce7f80f73a9f6c061f29c.tar.gz pluralconnect-6b796258d413f00e498ce7f80f73a9f6c061f29c.tar.bz2 pluralconnect-6b796258d413f00e498ce7f80f73a9f6c061f29c.zip |
Updated 5 files, added 2 files, deleted 495 files and renamed 7 files (automated)
Diffstat (limited to 'includes/composer/vendor/om/icalparser/bin/timezones.php')
-rw-r--r-- | includes/composer/vendor/om/icalparser/bin/timezones.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/includes/composer/vendor/om/icalparser/bin/timezones.php b/includes/composer/vendor/om/icalparser/bin/timezones.php deleted file mode 100644 index 3bf3708..0000000 --- a/includes/composer/vendor/om/icalparser/bin/timezones.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/** - * This file generates a map from windows timezones to tz database timezones - * - * @author Clement Wong <cw@clement.hk> - * @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', "<?php\n\$windows_timezones = " . var_export($windows_timezones, true) . ';'); - |