Skip to content

Commit

Permalink
Add mapping for CDT timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Szu authored and chris-szu committed Sep 1, 2022
1 parent f617dad commit ec72aea
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 @@ -202,4 +202,5 @@
'Pacific/Johnston' => 'Pacific/Honolulu',
'EDT' => 'America/Manaus',
'America/Godthab' => 'Atlantic/Stanley',
'CDT' => 'America/Chicago',
];
5 changes: 5 additions & 0 deletions tests/VObject/TimeZoneUtilTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,11 @@ public function unSupportTimezoneProvider(): iterable
'expected' => 'America/Manaus',
];

yield 'CDT' => [
'origin' => 'CDT',
'expected' => 'America/Chicago',
];

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

0 comments on commit ec72aea

Please sign in to comment.