diff --git a/src/time/format.go b/src/time/format.go index da1bac5ac3..87e990d48a 100644 --- a/src/time/format.go +++ b/src/time/format.go @@ -891,7 +891,7 @@ func quote(s string) string { if c == '"' || c == '\\' { buf = append(buf, '\\') } - buf = append(buf, string(c)...) + buf = append(buf, byte(c)) } } buf = append(buf, '"')