Skip to content

Commit 1764aa8

Browse files
author
a.chorniy
committed
change tag name from <date> to <span>, to avoid unnecessary issue in exception.log
1 parent e3e85a1 commit 1764aa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/view/frontend/templates/order/order_date.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
*/
66
?>
77
<div class="order-date">
8-
<?= $block->escapeHtml(__('<span class="label">Order Date:</span> %1', '<date>' . $block->formatDate($block->getOrder()->getCreatedAt(), \IntlDateFormatter::LONG) . '</date>'), ['span', 'date']) ?>
8+
<?= $block->escapeHtml(__('<span class="label">Order Date:</span> %1', '<span>' . $block->formatDate($block->getOrder()->getCreatedAt(), \IntlDateFormatter::LONG) . '</span>'), ['span']) ?>
99
</div>

0 commit comments

Comments
 (0)