diff --git a/core/attributedef.class.inc.php b/core/attributedef.class.inc.php index b4fecdee0..326d39b3a 100644 --- a/core/attributedef.class.inc.php +++ b/core/attributedef.class.inc.php @@ -3963,6 +3963,14 @@ class AttributeDateTime extends AttributeDBField return $oFormField; } + /** + * @inheritdoc + */ + public function GetForTemplate($value, $sVerb, $oHostObject = null, $bLocalize = true) + { + return static::GetFormat()->format($value); + } + static public function ListExpectedParams() { return parent::ListExpectedParams();