Skip to content

Commit

Permalink
Fix constant
Browse files Browse the repository at this point in the history
  • Loading branch information
iand committed Jan 19, 2021
1 parent eadf0a7 commit d301ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/csv.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func (c *CSVBatch) PersistModel(ctx context.Context, m interface{}) error {
// Special formatting for known types
if ft.PkgPath() == "time" && ft.Name() == "Time" {
v := fv.Interface().(time.Time)
row[i] = v.Format("2006-01-02T15:04:05.999Z07:00")
row[i] = v.Format(PostgresTimestampFormat)
continue
}

Expand Down

0 comments on commit d301ff0

Please sign in to comment.