code: func ParseRFC3339(s string, nowFn func() metav1.Time) (metav1.Time, error) {
  	if t, timeErr := time.Parse(time.RFC3339Nano, s); timeErr == nil {
  		return metav1.Time{Time: t}, nil
  	}
  	t, err := time.Parse(time.RFC3339, s)
  	if err != nil {
  		return metav1.Time{}, err
  	}
  	return metav1.Time{Time: t}, nil
  }
docs: // ParseRFC3339 parses an RFC3339 date in either RFC3339Nano or RFC3339 format.