Fix: infinite loop in function num_public_holiday

This commit is contained in:
Laurent Destailleur
2014-03-05 21:29:33 +01:00
parent 774017672f
commit fa098adc78
2 changed files with 8 additions and 6 deletions

View File

@@ -150,7 +150,7 @@ class DateLibTest extends PHPUnit_Framework_TestCase
print __METHOD__." result=".$result."\n";
$this->assertEquals(1,$result);
// With different date before and after sunlight hour (day to change is 2014-03-30)
// With different date before and after sunlight hour (day to change sunlight hour is 2014-03-30)
$date1=dol_mktime(0, 0, 0, 3, 28, 2014, true);
$date2=dol_mktime(0, 0, 0, 3, 31, 2014, true);