Note the date that is printed with the times. Since Jan. 1 of year zero (1 BC?) 
predates the establishment of standard time zones, Go converting from 1:00 PM 
mean solar time at Stockholm to 12:53 PM mean solar time at Berlin. (Or is the 
time used at Stockholm something different? It doesn’t seem quite right for 
Stockholm’s longitude… But I doubt many people at Stockholm were using clocks 
that long ago anyway!)

The time zones in the time zone database that Go uses are far more than just a 
list of static offsets from UTC.  Mr. Olson (and others) have attempted to 
collect the entire history of standard time at each location. 

Anyway, time zone conversions with a time and no date don’t work, even if you 
restrict them to the modern era. When it’s noon at Phoenix, what time is it at 
Los Angeles? Maybe noon, maybe 11 AM. It depends on the time of year (and the 
year; Arizona observed Daylight Saving Time in 1967).

Andy

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to