The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Replace dashes with slashes for Safari
Terry Suttond35456a033a3
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.tsindex fb93bd3f0e6..0a866d85283 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts@@ -177,10 +177,11 @@ const nowDateTimeValue = (format: string) => {}const convertPostgresDatetimeToInputDatetime = (format: string, value: string) => {- if (!value || value.length == 0) return ''+ const valueWithSlashes = value.replaceAll('-', '/')+ if (!value || value.length == 0) return ''if (TIMESTAMP_TYPES.includes(format)) {- return dayjs(value).format('YYYY-MM-DDTHH:mm:ss')+ return dayjs(valueWithSlashes).format('YYYY-MM-DDTHH:mm:ss')} else if (TIME_TYPES.includes(format)) {const serverTimeFormat = value && value.includes('+') ? 'HH:mm:ssZZ' : 'HH:mm:ss'return dayjs(value, serverTimeFormat).format('HH:mm:ss')