Fix for date comparison test on PHP 5.2