summaryrefslogtreecommitdiffstats
path: root/src/basic
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/time-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/time-util.c b/src/basic/time-util.c
index dcafad4882..791d83a5d8 100644
--- a/src/basic/time-util.c
+++ b/src/basic/time-util.c
@@ -333,7 +333,7 @@ char *format_timestamp_style(
1 + 10 + /* space and date */
1 + 8 + /* space and time */
(us ? 1 + 6 : 0) + /* "." and microsecond part */
- 1 + 1 + /* space and shortest possible zone */
+ 1 + (utc ? 3 : 1) + /* space and shortest possible zone */
1))
return NULL; /* Not enough space even for the shortest form. */