-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Open
Labels
NeedsInvestigationSomeone 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-AndroidmobileAndroid, iOS, and x/mobileAndroid, iOS, and x/mobile
Milestone
Description
initLocal() in zoneinfo_android.go is hard-coded to UTC:
go/src/time/zoneinfo_android.go
Lines 43 to 46 in bc495c5
| func initLocal() { | |
| // TODO(elias.naur): getprop persist.sys.timezone | |
| localLoc = *UTC | |
| } |
func initLocal() {
// TODO(elias.naur): getprop persist.sys.timezone
localLoc = *UTC
}x/mobile currently uses a hack to set time.Local for gomobile android apps (golang/mobile@730f563), but that predates the availability of tzdata on android (80b31c0).
grantbow, pongfcnkl, FarrelF and SaeedDev94
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone 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-AndroidmobileAndroid, iOS, and x/mobileAndroid, iOS, and x/mobile