From bbcf84d3573bb68855795e5c549ffa8fb3f6aa4f Mon Sep 17 00:00:00 2001 From: Nino Righi Date: Mon, 26 May 2025 13:59:23 +0000 Subject: [PATCH] Merged PR 1836: fix(oms-return-details): use 24-hour format for receipt and order dates fix(oms-return-details): use 24-hour format for receipt and order dates Update date formatting in return-details-order-group-data.component.html to use 'HH:mm' (24-hour format) instead of 'hh:mm' (12-hour format) for both receipt and order dates. This ensures consistency with German locale expectations and improves clarity for users. Ref: #5040 --- .../return-details-order-group-data.component.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/oms/feature/return-details/src/lib/return-details-order-group-data/return-details-order-group-data.component.html b/libs/oms/feature/return-details/src/lib/return-details-order-group-data/return-details-order-group-data.component.html index 0b14028da..f3dbe6308 100644 --- a/libs/oms/feature/return-details/src/lib/return-details-order-group-data/return-details-order-group-data.component.html +++ b/libs/oms/feature/return-details/src/lib/return-details-order-group-data/return-details-order-group-data.component.html @@ -2,7 +2,7 @@ Belegdatum: - {{ (receipt().printedDate | date: 'dd.MM.yyyy | hh:mm') + ' Uhr' }} + {{ (receipt().printedDate | date: 'dd.MM.yyyy | HH:mm') + ' Uhr' }} @@ -21,7 +21,7 @@ Bestelldatum: {{ - (receipt().order?.data?.orderDate | date: 'dd.MM.yyyy | hh:mm') + ' Uhr' + (receipt().order?.data?.orderDate | date: 'dd.MM.yyyy | HH:mm') + ' Uhr' }}