• Brad Fitzpatrick's avatar
    webdav: convert to UTC before using http.TimeFormat · 57065200
    Brad Fitzpatrick authored
    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: 's avatarFilippo Valsorda <filippo@golang.org>
    57065200
Name
Last commit
Last update
bpf Loading commit data...
context Loading commit data...
dict Loading commit data...
dns/dnsmessage Loading commit data...
html Loading commit data...
http Loading commit data...
http2 Loading commit data...
icmp Loading commit data...
idna Loading commit data...
internal Loading commit data...
ipv4 Loading commit data...
ipv6 Loading commit data...
lif Loading commit data...
nettest Loading commit data...
netutil Loading commit data...
proxy Loading commit data...
publicsuffix Loading commit data...
route Loading commit data...
trace Loading commit data...
webdav Loading commit data...
websocket Loading commit data...
xsrftoken Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
codereview.cfg Loading commit data...