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:
@@ -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' :
|
||||
|
||||
Reference in New Issue
Block a user