File tree Expand file tree Collapse file tree 3 files changed +3
-15
lines changed
Sales/view/adminhtml/templates/order
Shipping/view/adminhtml/templates/view Expand file tree Collapse file tree 3 files changed +3
-15
lines changed Original file line number Diff line number Diff line change 19
19
$ creditMemoStatus = isset ($ _creditMemo ->getStates ()[$ _creditMemo ->getState ()])
20
20
? $ _creditMemo ->getStates ()[$ _creditMemo ->getState ()]
21
21
: 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 );
27
23
?>
28
24
29
25
<div class="admin__page-section creditmemo-view-information">
Original file line number Diff line number Diff line change 16
16
<?php $ _order = $ _invoice ->getOrder () ?>
17
17
18
18
<?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 );
24
20
?>
25
21
26
22
<section class="admin__page-section invoice-view-information">
Original file line number Diff line number Diff line change @@ -21,11 +21,7 @@ $order = $shipment->getOrder();
21
21
?>
22
22
23
23
<?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 );
29
25
?>
30
26
31
27
<div class="admin__page-section shipment-view-information">
You can’t perform that action at this time.
0 commit comments