fix: include tzdata to validate timezones in scim (#9195)

# Which Problems Are Solved
- include tzdata in the binary to correctly validate time zones in the
scim layer if the os doesn't have timezone data available.

# How the Problems Are Solved
- by importing the go pkg `"time/tzdata"`

# Additional Context
Part of https://github.com/zitadel/zitadel/issues/8140
This commit is contained in:
Lars 2025-01-16 11:34:52 +01:00 committed by GitHub
parent 3f6ea78c87
commit 07f74730ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,9 @@ import (
"context"
"encoding/json"
"time"
// import timezone database to ensure it is available at runtime
// data is required to validate time zones.
_ "time/tzdata"
"github.com/zitadel/logging"
"golang.org/x/text/language"