summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/format/format.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/format/format.go b/lib/format/format.go
index 06b4d3f..656d808 100644
--- a/lib/format/format.go
+++ b/lib/format/format.go
@@ -143,7 +143,7 @@ func ParseMessageFormat(
 			}
 			retval = append(retval, 's')
 			args = append(args,
-				dummyIfZeroDate(date, timestampformat))
+				dummyIfZeroDate(date.Local(), timestampformat))
 		case 'D':
 			date := msg.Envelope.Date
 			if date.IsZero() {
@@ -151,7 +151,7 @@ func ParseMessageFormat(
 			}
 			retval = append(retval, 's')
 			args = append(args,
-				dummyIfZeroDate(date, timestampformat))
+				dummyIfZeroDate(date.Local(), timestampformat))
 		case 'f':
 			if msg.Envelope == nil {
 				return "", nil,