Skip to content

Commit

Permalink
Fixing dates in UI. (#4277)
Browse files Browse the repository at this point in the history
Closes #4276.
  • Loading branch information
fulmicoton authored Dec 14, 2023
1 parent 5676bdc commit 281bd01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quickwit/quickwit-ui/src/components/IndexSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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")}
</IndexRow>
<IndexRow title="URI:">{index.metadata.index_config.index_uri}</IndexRow>
<IndexRow title="Number of published documents:">
Expand Down
2 changes: 1 addition & 1 deletion quickwit/quickwit-ui/src/components/IndexesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const IndexesTable = ({ indexesMetadata }: Readonly<{indexesMetadata: IndexMetad
{indexMetadata.index_config.index_id}
</TableCell>
<TableCell align="left">{indexMetadata.index_config.index_uri}</TableCell>
<TableCell align="left">{ dayjs.unix(indexMetadata.create_timestamp).utc().format("YYYY/MM/DD HH:MM") }</TableCell>
<TableCell align="left">{ dayjs.unix(indexMetadata.create_timestamp).utc().format("YYYY/MM/DD HH:mm") }</TableCell>
<TableCell align="left">{ indexMetadata.sources?.length || 'None'}</TableCell>
</TableRow>
))}
Expand Down

0 comments on commit 281bd01

Please sign in to comment.