Skip to content

Commit 89a8c1d

Browse files
committed
MAGETWO-91035: Shipping Progress Dates are wrong for Tracking Popup
- Specified full datetime for date formatting
1 parent 38d7977 commit 89a8c1d

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Shipping/view/frontend/templates/tracking

1 file changed

+1
-1
lines changed

app/code/Magento/Shipping/view/frontend/templates/tracking/progress.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $track = $block->getData('track');
2323
</thead>
2424
<tbody>
2525
<?php foreach ($track->getProgressdetail() as $detail): ?>
26-
<?php $detailDate = (!empty($detail['deliverydate']) ? $parentBlock->formatDeliveryDate($detail['deliverydate']) : ''); ?>
26+
<?php $detailDate = (!empty($detail['deliverydate']) ? $parentBlock->formatDeliveryDate($detail['deliverydate'] . ' ' . $detail['deliverytime']) : ''); ?>
2727
<?php $detailTime = (!empty($detail['deliverytime']) ? $parentBlock->formatDeliveryTime($detail['deliverytime'], $detail['deliverydate']) : ''); ?>
2828
<tr>
2929
<td data-th="<?= $block->escapeHtml(__('Location')) ?>" class="col location">

0 commit comments

Comments
 (0)