Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Don't replace dashes in date string

Terry Sutton3abbc70e7622
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts
index 852a97e2bea..74dff97a703 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts
@@ -143,10 +143,6 @@ const nowDateTimeValue = (format: string) => {
}
const convertPostgresDatetimeToInputDatetime = (format: string, value: string) => {
- if (value) {
- value = value.includes('-') ? value.replaceAll('-', '/') : value
- }
-
if (!value || value.length == 0) return ''
if (TIMESTAMP_TYPES.includes(format)) {
return dayjs(value).format('YYYY-MM-DDTHH:mm:ss')