diff --git a/web/app/components/app/annotation/edit-annotation-modal/index.tsx b/web/app/components/app/annotation/edit-annotation-modal/index.tsx index 5edf07240d..91d856ad8e 100644 --- a/web/app/components/app/annotation/edit-annotation-modal/index.tsx +++ b/web/app/components/app/annotation/edit-annotation-modal/index.tsx @@ -117,7 +117,7 @@ const EditAnnotationModal: FC = ({
{t('appAnnotation.editModal.removeThisCache')}
- {createdAt &&
{t('appAnnotation.editModal.createdAt')} {dayjs(createdAt * 1000).format('YYYY-MM-DD hh:mm')}
} + {createdAt &&
{t('appAnnotation.editModal.createdAt')} {dayjs(createdAt * 1000).format('YYYY-MM-DD HH:mm')}
} ) : undefined diff --git a/web/app/components/app/annotation/list.tsx b/web/app/components/app/annotation/list.tsx index 093c42b76c..03ceb09bc8 100644 --- a/web/app/components/app/annotation/list.tsx +++ b/web/app/components/app/annotation/list.tsx @@ -54,7 +54,7 @@ const List: FC = ({ className='whitespace-nowrap overflow-hidden text-ellipsis max-w-[250px]' title={item.answer} >{item.answer} - {dayjs(item.created_at * 1000).format('YYYY-MM-DD hh:mm')} + {dayjs(item.created_at * 1000).format('YYYY-MM-DD HH:mm')} {item.hit_count} e.stopPropagation()}> {/* Actions */} diff --git a/web/app/components/app/annotation/view-annotation-modal/index.tsx b/web/app/components/app/annotation/view-annotation-modal/index.tsx index 5674c59d6d..16a95b823e 100644 --- a/web/app/components/app/annotation/view-annotation-modal/index.tsx +++ b/web/app/components/app/annotation/view-annotation-modal/index.tsx @@ -142,7 +142,7 @@ const ViewAnnotationModal: FC = ({ >{item.response} {item.source} {item.score ? item.score.toFixed(2) : '-'} - {dayjs(item.created_at * 1000).format('YYYY-MM-DD hh:mm')} + {dayjs(item.created_at * 1000).format('YYYY-MM-DD HH:mm')} ))} @@ -214,7 +214,7 @@ const ViewAnnotationModal: FC = ({
{t('appAnnotation.editModal.removeThisCache')}
-
{t('appAnnotation.editModal.createdAt')} {dayjs(createdAt * 1000).format('YYYY-MM-DD hh:mm')}
+
{t('appAnnotation.editModal.createdAt')} {dayjs(createdAt * 1000).format('YYYY-MM-DD HH:mm')}
) : undefined}