We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ada44c2 commit 33ec76bCopy full SHA for 33ec76b
lib/internal/Magento/Framework/Data/Form/Element/Date.php
@@ -168,6 +168,7 @@ public function getElementHtml()
168
$dateFormat = $this->getDateFormat() ?: $this->getFormat();
169
$timeFormat = $this->getTimeFormat();
170
if (empty($dateFormat)) {
171
+ // phpcs:ignore Magento2.Exceptions.DirectThrow
172
throw new \Exception(
173
'Output format is not specified. ' .
174
'Please specify "format" key in constructor, or set it using setFormat().'
0 commit comments