BUG 0000 Correct format date without hour for php 5.2 support

Correct format date without hour for php 5.2 support
This commit is contained in:
Herbert Saal Gutierrez
2012-05-16 15:41:31 -04:00
parent fc2f25d2ba
commit 2070917313

View File

@@ -1116,12 +1116,14 @@ class AppSolr {
}
else {
$typeSufix = '_tdt';
/*
if ($withHour)
//$value = gmdate ( "Y-m-d\TH:i:s\Z", $newdate->getTimestamp () );
$value = gmdate ( "Y-m-d\TH:i:s\Z", $newdate );
else {
$value = gmdate ( "Y-m-d\T00:00:00\Z", $newdate );
}
}*/
$value = gmdate ( "Y-m-d\T00:00:00\Z", $newdate );
}
break;
case 'dropdown' :