code: func (t *ts) UnmarshalJSON(b []byte) error {
  	var s string
  	if err := json.Unmarshal(b, &s); err != nil {
  		return err
  	}
  	parsedTime, err := time.Parse(time.ANSIC, s)
  	if err != nil {
  		// Try it with the appended timezone version.
  		parsedTime, err = time.Parse(time.ANSIC+" -0700", s)
  	}
  	t.Time = parsedTime
  	return err
  }
docs: // UnmarshalJSON unmarshals an ANSIC string before parsing it into a Time.