mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Advanced Search: Enhance Date conversion
SVN:trunk[5655]
This commit is contained in:
@@ -1628,6 +1628,11 @@ class FunctionExpression extends Expression
|
||||
$iMonth = (int) substr($sValue, 5, 2);
|
||||
$sRes = $aMonthToString[$iMonth].' '.(int)substr($sValue, -2);
|
||||
}
|
||||
elseif ($oFormatExpr->Render() == "'%H'")
|
||||
{
|
||||
// H => "H Hour(s)"
|
||||
$sRes = $sValue.':00';
|
||||
}
|
||||
}
|
||||
return $sRes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user