From fe817dc355d52f6842f3d73f81bd5c8129f94604 Mon Sep 17 00:00:00 2001
From: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 8 Oct 2018 19:21:55 +0200
Subject: sfeed_mbox: add seconds to Date header

---
 sfeed_mbox.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sfeed_mbox.c b/sfeed_mbox.c
index 7989d8e..911500f 100644
--- a/sfeed_mbox.c
+++ b/sfeed_mbox.c
@@ -89,8 +89,8 @@ printfeed(FILE *fp, const char *feedname)
 		/* can't convert: default to formatted time for time_t 0. */
 		if (!gmtime_r(&parsedtime, &tm) ||
 		    !strftime(timebuf, sizeof(timebuf),
-		              "%a, %d %b %Y %H:%M +0000", &tm))
-			strlcpy(timebuf, "Thu, 01 Jan 1970 00:00 +0000",
+		              "%a, %d %b %Y %H:%M:%S +0000", &tm))
+			strlcpy(timebuf, "Thu, 01 Jan 1970 00:00:00 +0000",
 		                sizeof(timebuf));
 
 		/* mbox + mail header */
-- 
cgit v1.2.3