Skip to content

Commit

Permalink
Fixing issues caused by daylight savings time switch.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 14, 2010
1 parent 78f347a commit 5ec9658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/tests/cases/libs/view/helpers/time.test.php
Expand Up @@ -758,7 +758,7 @@ function testI18nFormat() {
$this->assertEqual($result, $expected);

$result = $this->Time->i18nFormat($time, '%c');
$expected = 'jue 14 ene 2010 13:59:28 ' . strftime('%Z');
$expected = 'jue 14 ene 2010 13:59:28 ' . strftime('%Z', $time);
$this->assertEqual($result, $expected);

$result = $this->Time->i18nFormat($time, 'Time is %r, and date is %x');
Expand Down

0 comments on commit 5ec9658

Please sign in to comment.