revert format to work in europe
Signed-off-by: Rye Pasaporte <ryepassport@gmail.com>
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user