]> Cypherpunks repositories - gostls13.git/commit
time: move RFC 3339 optimizations to separate file
authorJoe Tsai <joetsai@digital-static.net>
Tue, 13 Sep 2022 17:54:07 +0000 (10:54 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 15 Sep 2022 21:10:36 +0000 (21:10 +0000)
commite7a2014fac885392e14205c93fff3fd8db84fa8d
tree74c9332bcdb56be03c24b9d28758d3586ff4e95f
parentf15582c477a4df03c4793db3c82547bd2956c1ab
time: move RFC 3339 optimizations to separate file

The optimizations were added in CL 425197 and CL 421877.
Move this functionality to a separate file to keep format.go smaller
and to document the justification for why this optimization exists.

Change-Id: I1e4e1ace19f9d596d8c0cf49ab6062f63a87b5bf
Reviewed-on: https://go-review.googlesource.com/c/go/+/430675
Run-TryBot: Joseph Tsai <joetsai@digital-static.net>
Auto-Submit: Jenny Rakoczy <jenny@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Jenny Rakoczy <jenny@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Jenny Rakoczy <jenny@golang.org>
Auto-Submit: Joseph Tsai <joetsai@digital-static.net>
src/time/format.go
src/time/format_rfc3339.go [new file with mode: 0644]