From 309fd590faec9bf9291bc8dae0563d93833023d4 Mon Sep 17 00:00:00 2001 From: Suleiman Dibirov Date: Sun, 6 Oct 2024 20:41:27 +0300 Subject: [PATCH] add tar.go --- pkg/utils/tar.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/utils/tar.go b/pkg/utils/tar.go index f9ecd2d2666..6a3e3853de2 100644 --- a/pkg/utils/tar.go +++ b/pkg/utils/tar.go @@ -98,7 +98,7 @@ func CreateTarByPath(path string, modTime time.Time) (*bytes.Buffer, error) { } // Set custom modification time - header.ModTime = modTime + header.ModTime = modTime.UTC() // Write header to the tarball if err := tw.WriteHeader(header); err != nil {