From 281bd010f224d355727783b46db1251c1d75695b Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Thu, 14 Dec 2023 16:46:02 +0900 Subject: [PATCH] Fixing dates in UI. (#4277) Closes #4276. --- quickwit/quickwit-ui/src/components/IndexSummary.tsx | 2 +- quickwit/quickwit-ui/src/components/IndexesTable.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quickwit/quickwit-ui/src/components/IndexSummary.tsx b/quickwit/quickwit-ui/src/components/IndexSummary.tsx index 74119ee47fd..5fd5ae8940d 100644 --- a/quickwit/quickwit-ui/src/components/IndexSummary.tsx +++ b/quickwit/quickwit-ui/src/components/IndexSummary.tsx @@ -75,7 +75,7 @@ export function IndexSummary({ index }: { index: Index }) { {dayjs .unix(index.metadata.create_timestamp) .utc() - .format("YYYY/MM/DD HH:MM")} + .format("YYYY/MM/DD HH:mm")} {index.metadata.index_config.index_uri} diff --git a/quickwit/quickwit-ui/src/components/IndexesTable.tsx b/quickwit/quickwit-ui/src/components/IndexesTable.tsx index 47c530e137d..94ab68e3095 100644 --- a/quickwit/quickwit-ui/src/components/IndexesTable.tsx +++ b/quickwit/quickwit-ui/src/components/IndexesTable.tsx @@ -54,7 +54,7 @@ const IndexesTable = ({ indexesMetadata }: Readonly<{indexesMetadata: IndexMetad {indexMetadata.index_config.index_id} {indexMetadata.index_config.index_uri} - { dayjs.unix(indexMetadata.create_timestamp).utc().format("YYYY/MM/DD HH:MM") } + { dayjs.unix(indexMetadata.create_timestamp).utc().format("YYYY/MM/DD HH:mm") } { indexMetadata.sources?.length || 'None'} ))}