Update web/app/(commonLayout)/apps/AppCard.tsx

pull/16900/head
crazywoola 1 year ago committed by GitHub
parent 37f9a3dbb0
commit 9d176f7966
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -300,7 +300,7 @@ const AppCard = ({ app, onRefresh }: AppCardProps) => {
const EditTimeText = useMemo(() => { const EditTimeText = useMemo(() => {
const timeText = formatTime({ const timeText = formatTime({
date: (app.updated_at || app.created_at) * 1000, date: (app.updated_at || app.created_at) * 1000,
dateFormat: 'MM/DD/YYYY h:mm:ss', dateFormat: 'MM/DD/YYYY h:mm',
}) })
return `${t('datasetDocuments.segment.editedAt')} ${timeText}` return `${t('datasetDocuments.segment.editedAt')} ${timeText}`
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps

Loading…
Cancel
Save