sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit fe817dc355d52f6842f3d73f81bd5c8129f94604
parent 0c137fc87d3d1560686ce0086f9801dbead422d4
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon,  8 Oct 2018 19:21:55 +0200

sfeed_mbox: add seconds to Date header

Diffstat:
Msfeed_mbox.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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 */