Skip to content
Permalink
Browse files

Use Canadian CST timezone instead of Amsterdam.

Saskatchewan does not observe DST which means this test will not ever
fail.
  • Loading branch information...
markstory committed Oct 27, 2015
1 parent 9d7d63c commit 403713e8d10e6a4e36ed32b3ec33609a8ac7e13d
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/TestCase/I18n/TimeTest.php
@@ -633,15 +633,15 @@ public function testListTimezones()
$return = Time::listTimezones(null, null, ['abbr' => true]);
$this->assertTrue(isset($return['Asia']['Asia/Jakarta']));
$this->assertEquals('Jakarta - WIB', $return['Asia']['Asia/Jakarta']);
$this->assertEquals('Amsterdam - CEST', $return['Europe']['Europe/Amsterdam']);
$this->assertEquals('Regina - CST', $return['America']['America/Regina']);
$return = Time::listTimezones(null, null, [
'abbr' => true,
'before' => ' (',
'after' => ')',
]);
$this->assertEquals('Jayapura (WIT)', $return['Asia']['Asia/Jayapura']);
$this->assertEquals('Amsterdam (CEST)', $return['Europe']['Europe/Amsterdam']);
$this->assertEquals('Regina (CST)', $return['America']['America/Regina']);
$return = Time::listTimezones('#^(America|Pacific)/#', null, false);
$this->assertTrue(isset($return['America/Argentina/Buenos_Aires']));

0 comments on commit 403713e

Please sign in to comment.
You can’t perform that action at this time.