diff --git a/src/time/time.go b/src/time/time.go index 5dc0d8a973..59555c2d05 100644 --- a/src/time/time.go +++ b/src/time/time.go @@ -105,6 +105,10 @@ import ( // change the instant in time being denoted and therefore does not affect the // computations described in earlier paragraphs. // +// Representations of a Time value saved by the GobEncode, MarshalBinary +// MarshalJSON, and MarshalText methods store the Time.Location's offset, but not +// the location name. They therefore lose information about Daylight Saving Time. +// // In addition to the required “wall clock” reading, a Time may contain an optional // reading of the current process's monotonic clock, to provide additional precision // for comparison or subtraction.