mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
(Retrofit from trunk) N°1006 Templates: Date & time format is now applied when using a date(time) attribute in a placeholder (eg. Notifications)
SVN:2.4[4918]
This commit is contained in:
@@ -3963,6 +3963,14 @@ class AttributeDateTime extends AttributeDBField
|
|||||||
return $oFormField;
|
return $oFormField;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @inheritdoc
|
||||||
|
*/
|
||||||
|
public function GetForTemplate($value, $sVerb, $oHostObject = null, $bLocalize = true)
|
||||||
|
{
|
||||||
|
return static::GetFormat()->format($value);
|
||||||
|
}
|
||||||
|
|
||||||
static public function ListExpectedParams()
|
static public function ListExpectedParams()
|
||||||
{
|
{
|
||||||
return parent::ListExpectedParams();
|
return parent::ListExpectedParams();
|
||||||
|
|||||||
Reference in New Issue
Block a user