Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing issues caused by daylight savings time switch.

  • Loading branch information...
commit 5ec965830c6932edb096c7027622256f73848dfe 1 parent 78f347a
@markstory markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cake/tests/cases/libs/view/helpers/time.test.php
View
2  cake/tests/cases/libs/view/helpers/time.test.php
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.