diff --git a/api/handler/get.go b/api/handler/get.go index eabacd18..1cb62fb0 100644 --- a/api/handler/get.go +++ b/api/handler/get.go @@ -58,7 +58,7 @@ func writeHeaders(h http.Header, info *layer.ObjectInfo) { if len(info.ContentType) > 0 { h.Set(api.ContentType, info.ContentType) } - h.Set(api.LastModified, info.Created.Format(http.TimeFormat)) + h.Set(api.LastModified, info.Created.Format(time.RFC3339)) h.Set(api.ContentLength, strconv.FormatInt(info.Size, 10)) h.Set(api.ETag, info.HashSum)