Skip to content

Commit 55f2a23

Browse files
committed
Fix functinal test failurs
1 parent 3fcdfc2 commit 55f2a23

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

app/code/Magento/Sales/view/adminhtml/templates/order/creditmemo/view/form.phtml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@
1919
$creditMemoStatus = isset($_creditMemo->getStates()[$_creditMemo->getState()])
2020
? $_creditMemo->getStates()[$_creditMemo->getState()]
2121
: null;
22-
$memoAdminDate = $block->formatDate(
23-
$block->formatDate($_creditMemo->getCreatedAt(), \IntlDateFormatter::MEDIUM),
24-
IntlDateFormatter::MEDIUM,
25-
true
26-
);
22+
$memoAdminDate = $block->formatDate($_creditMemo->getCreatedAt(), \IntlDateFormatter::MEDIUM);
2723
?>
2824

2925
<div class="admin__page-section creditmemo-view-information">

app/code/Magento/Sales/view/adminhtml/templates/order/invoice/view/form.phtml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@
1616
<?php $_order = $_invoice->getOrder() ?>
1717

1818
<?php
19-
$invoiceAdminDate = $block->formatDate(
20-
$block->formatDate($_invoice->getCreatedAt(), \IntlDateFormatter::MEDIUM),
21-
\IntlDateFormatter::MEDIUM,
22-
true
23-
);
19+
$invoiceAdminDate = $block->formatDate($_invoice->getCreatedAt(), \IntlDateFormatter::MEDIUM);
2420
?>
2521

2622
<section class="admin__page-section invoice-view-information">

app/code/Magento/Shipping/view/adminhtml/templates/view/form.phtml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@ $order = $shipment->getOrder();
2121
?>
2222

2323
<?php
24-
$shipmentAdminDate = $block->formatDate(
25-
$block->formatDate($shipment->getCreatedAt(), \IntlDateFormatter::MEDIUM),
26-
\IntlDateFormatter::MEDIUM,
27-
true
28-
);
24+
$shipmentAdminDate = $block->formatDate($shipment->getCreatedAt(), \IntlDateFormatter::MEDIUM);
2925
?>
3026

3127
<div class="admin__page-section shipment-view-information">

0 commit comments

Comments
 (0)