commit | 57065200b4b034a1c8ad54ff77069408c2218ae6 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@golang.org> | Fri May 18 17:41:52 2018 +0000 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Sat May 19 12:25:54 2018 +0000 |
tree | 19ebb9a2b2461a5174dca2c1b2b9f0bd449d1029 | |
parent | 2491c5de3490fced2f6cff376127c667efeed857 [diff] |
webdav: convert to UTC before using http.TimeFormat http.TimeFormat hard-codes GMT and is documented that: > TimeFormat is the time format to use when generating times in HTTP > headers. It is like time.RFC1123 but hard-codes GMT as the time > zone. The time being formatted must be in UTC for Format to generate > the correct format. These two users weren't UTC-ifying the time.Time first. Fixes golang/go#25015 Change-Id: I82be01856260e363361137fd9651b1940f439f21 Reviewed-on: https://go-review.googlesource.com/113795 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.