diff --git a/frontend/app/components/Assist/RecordingsList/RecordingsList.tsx b/frontend/app/components/Assist/RecordingsList/RecordingsList.tsx index 5f9eb68f9..d2916a9eb 100644 --- a/frontend/app/components/Assist/RecordingsList/RecordingsList.tsx +++ b/frontend/app/components/Assist/RecordingsList/RecordingsList.tsx @@ -39,7 +39,7 @@ function RecordingsList() { >
-
Title
+
Name
By
diff --git a/frontend/app/components/Assist/RecordingsList/RecordsListItem.tsx b/frontend/app/components/Assist/RecordingsList/RecordsListItem.tsx index e6996d1fc..6af11e1fc 100644 --- a/frontend/app/components/Assist/RecordingsList/RecordsListItem.tsx +++ b/frontend/app/components/Assist/RecordingsList/RecordsListItem.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { Icon, ItemMenu } from 'UI'; -import { durationFromMs, checkForRecent, getDateFromMill } from 'App/date'; +import { durationFromMs, formatTimeOrDate, getDateFromMill } from 'App/date'; import { IRecord } from 'App/services/RecordingsService'; import { useStore } from 'App/mstore'; import { toast } from 'react-toastify'; @@ -12,7 +12,8 @@ interface Props { function RecordsListItem(props: Props) { const { record } = props; - const { recordingsStore } = useStore(); + const { recordingsStore, settingsStore } = useStore(); + const { timezone } = settingsStore.sessionSettings; const [isEdit, setEdit] = React.useState(false); const [recordingTitle, setRecordingTitle] = React.useState(record.name); const inputRef = React.useRef(null); @@ -85,7 +86,7 @@ function RecordsListItem(props: Props) {
{record.createdBy}
- {checkForRecent(getDateFromMill(record.createdAt), 'LLL dd, yyyy, hh:mm a')} + {formatTimeOrDate(record.createdAt, timezone, true)}