[#331] Use UTC Last-Modified time

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2022-01-25 16:13:17 +03:00 committed by Angira Kekteeva
parent 7488bd3e7e
commit a46726a545
5 changed files with 8 additions and 8 deletions

View file

@ -38,7 +38,7 @@ func (h *handler) ListBucketsHandler(w http.ResponseWriter, r *http.Request) {
for _, item := range list {
res.Buckets.Buckets = append(res.Buckets.Buckets, Bucket{
Name: item.Name,
CreationDate: item.Created.Format(time.RFC3339),
CreationDate: item.Created.UTC().Format(time.RFC3339),
})
}