]> Cypherpunks repositories - gostls13.git/commit
net/http: use standard time formatting methods
authorTom Thorogood <me+google@tomthorogood.co.uk>
Sun, 9 Feb 2025 02:12:25 +0000 (12:42 +1030)
committerGopher Robot <gobot@golang.org>
Mon, 10 Feb 2025 20:28:00 +0000 (12:28 -0800)
commit6fd3ce52bbc628225e67f8811ff2f6db17a7bec6
treef90251b273d83d25566ae6ddf722cac41de0b87b
parent8b8ab2584d52c96ed84207208f13a37272cab217
net/http: use standard time formatting methods

time.Time has had an AppendFormat method since go1.5 so there's no
need to carry around a custom implementation.

Change-Id: I8e7e5a9ac34e8bf251f5d70555405777ce4e22a8
Reviewed-on: https://go-review.googlesource.com/c/go/+/647955
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
src/net/http/export_test.go
src/net/http/serve_test.go
src/net/http/server.go