Gopher Robot submitted the change![Open in Gerrit]()
Change information
Commit message:
time: fix time zone parsing when format includes time zone seconds
The current implementation fails to parse a time string with a "Z"
time zone using a time format that includes time zone seconds. This
fix correctly parses the "Z" time zone for any Z-base time format
that includes seconds (i.e. "Z070000" or "Z07:00:00").
Fixes #68263
Change-Id: Idf8fa06b5f96383f050c4ffbd2bc5804fd408650
Files:
- M src/time/format.go
- M src/time/format_test.go
Change size: S
Delta: 2 files changed, 21 insertions(+), 2 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Ian Lance Taylor, +1 by Than McIntosh
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: Idf8fa06b5f96383f050c4ffbd2bc5804fd408650
Gerrit-Change-Number: 595897
Gerrit-PatchSet: 2