github.com/supabase/cli@v1.168.1/internal/utils/render.go (about) 1 package utils 2 3 import "time" 4 5 func FormatTimestamp(timestamp string) string { 6 if t, err := time.Parse(time.RFC3339, timestamp); err == nil { 7 return t.UTC().Format("2006-01-02 15:04:05") 8 } 9 return timestamp 10 }