Skip to content

Commit

Permalink
Add support for gulf standard time
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Szu committed Dec 18, 2023
1 parent 8e9bf00 commit 0d82bc5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/timezonedata/extrazones.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,5 @@
'America/Godthab' => 'Atlantic/Stanley',
'CDT' => 'America/Chicago',
'PST' => 'America/Los_Angeles',
'Gulf Standard Time' => 'Asia/Muscat',
];
5 changes: 5 additions & 0 deletions tests/VObject/TimeZoneUtilTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,11 @@ public function unSupportTimezoneProvider(): iterable
'expected' => 'America/Los_Angeles',
];

yield 'Gulf Standard Time' => [
'origin' => 'Gulf Standard Time',
'expected' => 'Asia/Muscat',
];

if (($handle = fopen(__DIR__ . "/microsoft-timezones-confluence.csv", "r")) !== FALSE) {
$data = fgetcsv($handle);
while (($data = fgetcsv($handle)) !== FALSE) {
Expand Down

0 comments on commit 0d82bc5

Please sign in to comment.