mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
fix: iso string format
This commit is contained in:
1 parent
06aabb1abd
commit
2a107b2d0c
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user