Skip to content

Commit 8059acf

Browse files
committed
fix: prefer to use .toLocalString() over string
1 parent 0df7313 commit 8059acf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

site/src/pages/AIGovernancePage/RequestLogsPage/RequestLogsRow/RequestLogsRow.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ export const RequestLogsRow: FC<RequestLogsRowProps> = ({ interception }) => {
4141
)}
4242
</div>
4343
</TableCell>
44-
<TableCell>{interception.started_at}</TableCell>
44+
<TableCell>
45+
{new Date(interception.started_at).toLocaleString()}
46+
</TableCell>
4547
<TableCell>{interception.initiator_id}</TableCell>
4648
<TableCell>
4749
{hasPrompt && interception.user_prompts[0].prompt}

0 commit comments

Comments
 (0)