From df88d43c9f12d7162b958499bd1ab1cb8dc1036a Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Wed, 5 Sep 2007 19:22:27 +0000 Subject: [PATCH] Time conversion back from rfc to ftn uses the localtime offset --- ChangeLog | 1 + mbfido/mkftnhdr.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b1aec0fc..00d65a76 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,7 @@ v0.91.11 02-Sep-2007 mbfido: To test, date conversion for export netmail->email. + Also conversion back from rfc to ftn uses the time diffrence. v0.91.10 21-Aug-2007 - 02-Sep-2007 diff --git a/mbfido/mkftnhdr.c b/mbfido/mkftnhdr.c index 4adcef0f..63baac11 100644 --- a/mbfido/mkftnhdr.c +++ b/mbfido/mkftnhdr.c @@ -506,9 +506,9 @@ ftnmsg *mkftnhdr(rfcmsg *msg, int newsmode, faddr *recipient) } if ((p = hdr((char *)"X-Origin-Date",msg))) - tmsg->date = parsedate(p, NULL); + tmsg->date = parsedate(p, NULL) - (gmt_offset((time_t)0) * 60); else if ((p = hdr((char *)"Date",msg))) - tmsg->date = parsedate(p, NULL); + tmsg->date = parsedate(p, NULL) - (gmt_offset((time_t)0) * 60); else tmsg->date = time((time_t *)NULL);