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.

If I understand the question correctly, I think it does in the
[/adm/timezone] directory. Those files are in a format described in
[ctime(2)]. Out of curiosity I read through the time package source
and found some logic to parse this data in [zoneinfo_plan9.go].
initLocal is eventually called in [zoneinfo.go].

[/adm/timezone]: https://github.com/plan9foundation/plan9/tree/main/adm/timezone
[ctime(2)]: https://9p.io/magic/man2html/2/ctime
[zoneinfo_plan9.go]: https://cs.opensource.google/go/go/+/master:src/time/zoneinfo_plan9.go [zoneinfo.go]: https://cs.opensource.google/go/go/+/master:src/time/zoneinfo_unix.go;drc=19e923182e590ae6568c2c714f20f32512aeb3e3;bpv=0;bpt=0;l=28

--
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/79D9B61B-A1A0-4FDE-AF0E-A97D1B28689D%40olowe.co.

Reply via email to