aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV
diff options
context:
space:
mode:
authorSebastianKrupinski <krupinskis05@gmail.com>2024-11-24 20:17:43 -0500
committerSebastianKrupinski <krupinskis05@gmail.com>2024-12-09 13:11:39 -0500
commit58b04fa7c7495b1b9761e5766ac36f1e23781754 (patch)
treedd1ce65520b156767ab28421732eeed6cac0b39f /apps/dav/lib/CalDAV
parenta92547888ced316d6d54989c9784fdb137fa9df7 (diff)
downloadnextcloud-server-58b04fa7c7495b1b9761e5766ac36f1e23781754.tar.gz
nextcloud-server-58b04fa7c7495b1b9761e5766ac36f1e23781754.zip
fix: add support for Microsoft time zones
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Diffstat (limited to 'apps/dav/lib/CalDAV')
-rw-r--r--apps/dav/lib/CalDAV/TimeZoneFactory.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/dav/lib/CalDAV/TimeZoneFactory.php b/apps/dav/lib/CalDAV/TimeZoneFactory.php
index 7fda9517780..36a2c97be82 100644
--- a/apps/dav/lib/CalDAV/TimeZoneFactory.php
+++ b/apps/dav/lib/CalDAV/TimeZoneFactory.php
@@ -79,7 +79,7 @@ class TimeZoneFactory {
'Greenwich Standard Time' => 'Atlantic/Reykjavik',
'Haiti Standard Time' => 'America/Port-au-Prince',
'Hawaiian Standard Time' => 'Pacific/Honolulu',
- 'India Standard Time' => 'Asia/Calcutta',
+ 'India Standard Time' => 'Asia/Kolkata',
'Iran Standard Time' => 'Asia/Tehran',
'Israel Standard Time' => 'Asia/Jerusalem',
'Jordan Standard Time' => 'Asia/Amman',
@@ -103,7 +103,7 @@ class TimeZoneFactory {
'Myanmar Standard Time' => 'Asia/Rangoon',
'N. Central Asia Standard Time' => 'Asia/Novosibirsk',
'Namibia Standard Time' => 'Africa/Windhoek',
- 'Nepal Standard Time' => 'Asia/Katmandu',
+ 'Nepal Standard Time' => 'Asia/Kathmandu',
'New Zealand Standard Time' => 'Pacific/Auckland',
'Newfoundland Standard Time' => 'America/St_Johns',
'Norfolk Standard Time' => 'Pacific/Norfolk',
@@ -164,8 +164,10 @@ class TimeZoneFactory {
'West Asia Standard Time' => 'Asia/Tashkent',
'West Bank Standard Time' => 'Asia/Hebron',
'West Pacific Standard Time' => 'Pacific/Port_Moresby',
+ 'West Samoa Standard Time' => 'Pacific/Apia',
'Yakutsk Standard Time' => 'Asia/Yakutsk',
'Yukon Standard Time' => 'America/Whitehorse',
+ 'Yekaterinburg Standard Time' => 'Asia/Yekaterinburg',
];
/**