-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed as not planned
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-Windows
Description
What version of Go are you using (go version)?
$ go version 1.21.0
Does this issue reproduce with the latest release?
yes
What did you do?
i use this code in my software work in windows
zone, _:= time.Now().Zone()
location_currentzone, err := time.LoadLocation(zone)
if err != nil {
return time.Now(), err
}
final := te.In(location_currentzone)
but when i upgrade go from 1.20.6 to 1.21.0
time.LoadLocation recognize only to utc and local only and didn't recognize any zone output from time.Now().Zone()
this happened in debug or build in machine have 1.21.0 golang
error:
unknown time zone EEST
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-Windows