Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
net/mail: missing date layout #22661
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
changed the title from
missing date layout in net/mail
net/mail: missing date layout
Nov 10, 2017
I saw this in mails sent by gmail web. And yes, simply removing the (*) suffix before parsing will also do.…
在 2017年11月11日，02:19，Ian Lance Taylor ***@***.***> 写道： Where did you see this date header? From looking at RFC 5322 I suspect that the right fix is to remove "-0700 (MST)" from dateLayouts and to change ParseDate to skip CFWS at the end. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.