mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
force all internal MinIO operations to be under UTC (#16009)
This commit is contained in:
@@ -18,10 +18,15 @@
|
||||
package init
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/klauspost/cpuid/v2"
|
||||
)
|
||||
|
||||
func init() {
|
||||
// All MinIO operations must be under UTC.
|
||||
os.Setenv("TZ", "UTC")
|
||||
|
||||
// Temporary workaround for
|
||||
// https://github.com/golang/go/issues/49233
|
||||
// Keep until upstream has been fixed.
|
||||
|
||||
Reference in New Issue
Block a user