aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorConstantin Konstantinidis <constantinkonstantinidis@gmail.com>2018-09-05 06:35:33 +0200
committerIan Lance Taylor <iant@golang.org>2019-10-11 16:35:39 +0000
commita08cb9f473405769f292bd2ff455764a690fe3e7 (patch)
tree368adfc106f8aae757be52f968a146a560b23393 /src/runtime
parentba108c93b864aaa10814e010b4e2efead21516ec (diff)
downloadgo-a08cb9f473405769f292bd2ff455764a690fe3e7.tar.xz
net/mail: added support to trailing CFWS in date
RFC 5322 date format allows CFWS after the timezone. If CFWS is valid, it is discarded and parsing is done as before using time.Parse(). Existing test is extended with limit cases and invalid strings. Fixes #22661 Change-Id: I54b96d7bc384b751962a76690e7e4786217a7941 Reviewed-on: https://go-review.googlesource.com/c/go/+/117596 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions