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:
Denis Flaven
2011-08-18 09:50:16 +00:00
parent c0764bce74
commit 278b84ee38

View File

@@ -1985,7 +1985,7 @@ class AttributeDateTime extends AttributeDBField
{
if (empty($default))
{
$default = date(self::GetDateFormat());
$default = date($this->GetDateFormat());
}
}