code: func parseTime(t string) (time.Time, error) {
  	for _, tf := range timeFormats {
  		time, err := time.Parse(tf, t)
  		if err == nil {
  			log.Debug("timeparse: found format", tf)
  			return time, nil
  		}
  	}
  	return time.Time{}, ErrInvalidTimeFormat
  }
docs: // parseTime iterates through all known date formats on a normalized time
  // string, using Golang's standard lib to do the heavy lifting.
  //
  // TODO This is a brute-force, "dumb" method of determining the time format and
  // should be improved.