LogoKolab Groupware OBS > Projects
Log In

View File T446162.patch of Package php-sabre-vobject (Project Kolab:16)

From 284f8072bc678387510db663d4c2b148b02f7476 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <machniak@kolabsys.com>
Date: Wed, 13 Nov 2019 13:15:12 +0100
Subject: [PATCH 1/2] Add some more Exchange timezone aliases (#464)

---
 lib/timezonedata/exchangezones.php | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/timezonedata/exchangezones.php b/lib/timezonedata/exchangezones.php
index 89bddc27..2dd7267b 100644
--- a/lib/timezonedata/exchangezones.php
+++ b/lib/timezonedata/exchangezones.php
@@ -74,18 +74,26 @@
     'Greenland' => 'America/Godthab',
     'Newfoundland' => 'America/St_Johns',
     'Atlantic Time (Canada)' => 'America/Halifax',
+    'Atlantic Time' => 'America/Halifax',
     'Caracas, La Paz' => 'America/Caracas',
     'Santiago' => 'America/Santiago',
     'Bogota, Lima, Quito' => 'America/Bogota',
     'Eastern Time (US & Canada)' => 'America/New_York',
+    'Eastern Time' => 'America/New_York',
     'Indiana (East)' => 'America/Indiana/Indianapolis',
+    'Indiana' => 'America/Indiana/Indianapolis',
     'Central America' => 'America/Guatemala',
     'Central Time (US & Canada)' => 'America/Chicago',
+    'Central Time' => 'America/Chicago',
     'Mexico City, Tegucigalpa' => 'America/Mexico_City',
     'Saskatchewan' => 'America/Edmonton',
     'Arizona' => 'America/Phoenix',
     'Mountain Time (US & Canada)' => 'America/Denver', // Best guess
+    'Mountain Time' => 'America/Denver', // Best guess
+    'Pacific Time (US & Canada)' => 'America/Los_Angeles', // Best guess
+    'Pacific Time' => 'America/Los_Angeles', // Best guess
     'Pacific Time (US & Canada); Tijuana' => 'America/Los_Angeles', // Best guess
+    'Pacific Time; Tijuana' => 'America/Los_Angeles', // Best guess
     'Alaska' => 'America/Anchorage',
     'Hawaii' => 'Pacific/Honolulu',
     'Midway Island, Samoa' => 'Pacific/Midway',

From b2d082b783f5664c12084ece80856fee3cafd48e Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <machniak@kolabsys.com>
Date: Mon, 14 Jun 2021 11:15:19 +0200
Subject: [PATCH 2/2] Add timezone alias (#535)

---
 lib/timezonedata/exchangezones.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/timezonedata/exchangezones.php b/lib/timezonedata/exchangezones.php
index 2dd7267b..c8adf2e1 100644
--- a/lib/timezonedata/exchangezones.php
+++ b/lib/timezonedata/exchangezones.php
@@ -48,6 +48,7 @@
     'Bangkok, Hanoi, Jakarta' => 'Asia/Bangkok',
     'Krasnoyarsk' => 'Asia/Krasnoyarsk',
     'Beijing, Chongqing, Hong Kong SAR, Urumqi' => 'Asia/Shanghai',
+    'Beijing, Chongqing, Hong Kong, Urumqi' => 'Asia/Shanghai',
     'Irkutsk, Ulaan Bataar' => 'Asia/Irkutsk',
     'Kuala Lumpur, Singapore' => 'Asia/Singapore',
     'Perth, Western Australia' => 'Australia/Perth',