You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RFC5322 has resent fields. Therefore we need a key param on (Header).Date() method so that we can parse the "Resent-Date" header. I see 3 possible options:
// key is optional for backwards compatibility. If it's not set it parses "Date"
func (h Header) Date(key ...string) (time.Time, error)
// Parses "Resent-Date" header.
func (h Header) DateReset() (time.Time, error)
// Parse a date-time format as specified in rfc5322
func ParseDate(s string)(time.Time, error)
The text was updated successfully, but these errors were encountered:
RFC5322 has resent fields. Therefore we need a key param on (Header).Date() method so that we can parse the "Resent-Date" header. I see 3 possible options:
The text was updated successfully, but these errors were encountered: