mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 16:48:42 +02:00
The default value for Date fields is different than for DateTime fields: no 'time' part at the end (use the attribute's own format)
SVN:trunk[1465]
This commit is contained in:
@@ -1985,7 +1985,7 @@ class AttributeDateTime extends AttributeDBField
|
||||
{
|
||||
if (empty($default))
|
||||
{
|
||||
$default = date(self::GetDateFormat());
|
||||
$default = date($this->GetDateFormat());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user