]> Cypherpunks repositories - gostls13.git/commit
time: properly quote strings containing quotes and backslashes
authorAhmet Aktürk <aakturk000@gmail.com>
Mon, 5 Apr 2021 19:05:05 +0000 (22:05 +0300)
committerIan Lance Taylor <iant@golang.org>
Tue, 6 Apr 2021 19:18:47 +0000 (19:18 +0000)
commit1271e9a9ccfdb0906ecf69d2047ad3b470eeca02
tree8a0c392bf8df5004dbfedd9184b0b9099ceef3d0
parent2e6f39beb0d2423beb544cf491fd9460d0959634
time: properly quote strings containing quotes and backslashes

Fixes #45391

Change-Id: I43ea597f6a9596a621ae7b63eb05440d5b9e2d8f
Reviewed-on: https://go-review.googlesource.com/c/go/+/307192
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/time/export_test.go
src/time/format.go
src/time/format_test.go