diff --git a/packages/manager/apps/pci-workflow/src/api/hooks/useExecutions.spec.tsx b/packages/manager/apps/pci-workflow/src/api/hooks/useExecutions.spec.tsx index a47905a7a530..d5f05133a27d 100644 --- a/packages/manager/apps/pci-workflow/src/api/hooks/useExecutions.spec.tsx +++ b/packages/manager/apps/pci-workflow/src/api/hooks/useExecutions.spec.tsx @@ -54,14 +54,14 @@ describe('useExecutions tests', () => { id: 'project_id_1', state: 'SUCCESS', executedAt: '2024-07-18T01:05:29Z', - executedAtDate: '18 juillet. 2024', + executedAtDate: '18 juil. 2024', executedAtTime: format(parseISO('2024-07-18T01:05:29'), 'hh:mm:ss'), }, { id: 'project_id_2', state: 'SUCCESS', executedAt: '2024-07-17T01:05:24Z', - executedAtDate: '17 juillet. 2024', + executedAtDate: '17 juil. 2024', executedAtTime: format(parseISO('2024-07-17T01:05:24'), 'hh:mm:ss'), }, ]); diff --git a/packages/manager/apps/pci-workflow/src/api/hooks/useExecutions.ts b/packages/manager/apps/pci-workflow/src/api/hooks/useExecutions.ts index 9bd6a782234e..861c31850bc0 100644 --- a/packages/manager/apps/pci-workflow/src/api/hooks/useExecutions.ts +++ b/packages/manager/apps/pci-workflow/src/api/hooks/useExecutions.ts @@ -60,7 +60,7 @@ export const useWorkflowExecutions = ( executedAtDate: format( // remove Z timezone to treat as UTC date parseISO(exec.executedAt?.replace(/Z$/, '')), - "dd MMMM'.' yyyy", + 'dd MMM yyyy', { locale: locales[userLocale], },