mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 12:40:24 +03:00
force all internal MinIO operations to be under UTC (#16009)
This commit is contained in:
@@ -16,3 +16,10 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
package init
|
||||
|
||||
import "os"
|
||||
|
||||
func init() {
|
||||
// All MinIO operations must be under UTC.
|
||||
os.Setenv("TZ", "UTC")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user