I read in a recent Go issue that Go uses time zone data in GOROOT for 
Windows and Plan 9. 

I looked through the Go proposal documents, but couldn't find one for the 
time package that had the original reasons, but I assume the reasons are 
because Windows didn't used to have IANA-compatible time zone info, and 
Plan 9 still doesn't.

Can anyone point me to info about why Go doesn't use the time zone info in 
the Windows registry instead? It looks like there is now a full mapping 
from IANA zones to Windows zones 
<https://superuser.com/questions/1709147/history-explanation-for-time-zones-on-windows>
.

I'm also curious why Plan 9 doesn't include a tzdata or zoneinfo database 
file for programs to use for time zone logic/math, like most OSs, if anyone 
happens to know. I understand wanting to keep the system time simple, but 
the database still seems useful for generally doing math with times from 
different time zones. Why not just include it for programs?

Will

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/0e1fcf87-4569-4de5-a34d-f4b6a3a0f11en%40googlegroups.com.

Reply via email to