The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
unified logs: fix date format (#42750)
Jordi Enric5f53f7367193
diff --git a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/blocks/RequestStartedBlock.tsx b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/blocks/RequestStartedBlock.tsxindex 44645b716fe..950e96e5192 100644--- a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/blocks/RequestStartedBlock.tsx+++ b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/blocks/RequestStartedBlock.tsx@@ -9,8 +9,13 @@ export const MemoizedRequestStartedBlock = memo(function RequestStartedBlock({}: {data: ColumnSchema}) {- const timestamp = data?.timestamp || data?.date- const formattedTime = timestamp ? new Date(timestamp).toLocaleString() : null+ // Convert microseconds to milliseconds for JavaScript Date+ const timestampMs = data?.timestamp+ ? data.timestamp / 1000+ : data?.date+ ? data.date.getTime()+ : null+ const formattedTime = timestampMs ? new Date(timestampMs).toLocaleString() : nullreturn (<div>