aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/time/format.go2
1 files changed, 1 insertions, 1 deletions
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, '"')