diff --git a/vendor/magento/framework/Data/Form/Element/Date.php b/vendor/magento/framework/Data/Form/Element/Date.php index 222f9588a1ccc..d85a245709975 100644 --- a/vendor/magento/framework/Data/Form/Element/Date.php +++ b/vendor/magento/framework/Data/Form/Element/Date.php @@ -1,7 +1,7 @@ getDateFormat(); + $format = $this->getDateFormat() ?: $this->getFormat(); $format .= ($format && $this->getTimeFormat()) ? ' ' : ''; $format .= $this->getTimeFormat() ? $this->getTimeFormat() : ''; }