Skip to content
Browse files

Fix niceFormat stattic access for real

  • Loading branch information...
bcrowe committed Nov 15, 2013
1 parent 65ff15c commit c5ff3041be666d1c997d3c7c7d1b3e8a58c8c9a1
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cake/Test/TestCase/Utility/TimeTest.php
@@ -391,7 +391,7 @@ public function testNice() {
$this->assertEquals(date('D', $time), $this->Time->nice($time, null, '%a'));
$this->assertEquals(date('M d, Y', $time), $this->Time->nice($time, null, '%b %d, %Y'));
$this->Time->niceFormat = '%Y-%d-%m';
Time::$niceFormat = '%Y-%d-%m';
$this->assertEquals(date('Y-d-m', $time), $this->Time->nice($time));
$this->assertEquals('%Y-%d-%m', Time::$niceFormat);

0 comments on commit c5ff304

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