Skip to content

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

fix: iso string format

phamhieu2a107b2d0cd6
diff --git a/studio/components/interfaces/Authentication/Users/Users.utils.ts b/studio/components/interfaces/Authentication/Users/Users.utils.ts
index f575d1457f9..83b749b2237 100644
--- a/studio/components/interfaces/Authentication/Users/Users.utils.ts
+++ b/studio/components/interfaces/Authentication/Users/Users.utils.ts
@@ -19,5 +19,5 @@ import dayjs from 'dayjs'
* Instead of using the default parsing. We should use CustomParseFormat.
*/
export const getDateFromIsoString = (dateString?: string): dayjs.Dayjs | undefined => {
- return dateString ? dayjs(dateString, 'YYYY-MM-DD HH:mm:ss.SSSSSSZZ') : undefined
+ return dateString ? dayjs(dateString, 'YYYY-MM-DD HH:mm:ss.SSSZZ') : undefined
}