diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index a10517a88..503d9e1bc 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -1567,8 +1567,7 @@ $(document).ready(function() { break; case SeedDMS_Core_AttributeDefinition::type_date: $objvalue = $attribute ? (is_object($attribute) ? $attribute->getValue() : $attribute) : ''; - if(!$dateformat) - $dateformat = getConvertDateFormat(); + $dateformat = getConvertDateFormat($this->params['settings']->_dateformat); $content .= '