From 0187fa039474c0b6aa9f641070836a5f47bbd51c Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Sun, 4 Jun 2023 21:04:10 +0200 Subject: [PATCH] tweak time format for added date headers seconds are useful, leading zeros for "day" not so much --- message/time.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/message/time.go b/message/time.go index 76c5fad..4aa456a 100644 --- a/message/time.go +++ b/message/time.go @@ -1,4 +1,4 @@ package message // Timestamp as used in internet mail messages. -const RFC5322Z = "02 Jan 2006 15:04 -0700" +const RFC5322Z = "2 Jan 2006 15:04:05 -0700"