aboutsummaryrefslogtreecommitdiffstats
path: root/lib/format/format.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/format/format.go')
-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 06b4d3f5..656d8088 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,