revert format to work in europe

Signed-off-by: Rye Pasaporte <ryepassport@gmail.com>
This commit is contained in:
Rye Pasaporte
2025-02-28 11:42:31 +01:00
parent ed4917b9ad
commit 9f74383f9c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
'@backstage/plugin-catalog-unprocessed-entities': patch
---
Fixed the `convertTimeToLocalTimezone` function in the FailedEntities component to correctly parse ISO 8601 date strings and format them as `M/d/yyyy, h:mm:ss a`.
Fixed the `convertTimeToLocalTimezone` function in the FailedEntities component to correctly parse ISO 8601 date strings.
@@ -99,7 +99,7 @@ const convertTimeToLocalTimezone = (strDateTime: string | Date) => {
const dateTimeLocalTz = dateTime.setZone(DateTime.local().zoneName);
return dateTimeLocalTz.toFormat('M/d/yyyy, h:mm:ss a');
return dateTimeLocalTz.toFormat('yyyy-MM-dd hh:mm:ss ZZZZ');
};
export const FailedEntities = () => {