Skip to content

Commit

Permalink
Use formatTime in bucket.TimeCreated too
Browse files Browse the repository at this point in the history
That's never going to be zero, but let's do it for consistency.
  • Loading branch information
fsouza committed Sep 2, 2022
1 parent 06a59ac commit 8d879ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fakestorage/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func newBucketResponse(bucket backend.Bucket, location string) bucketResponse {
ID: bucket.Name,
Name: bucket.Name,
Versioning: &bucketVersioning{bucket.VersioningEnabled},
TimeCreated: bucket.TimeCreated.Format(timestampFormat),
TimeCreated: formatTime(bucket.TimeCreated),
Location: location,
}
}
Expand Down

0 comments on commit 8d879ab

Please sign in to comment.