To test, date conversion for export netmail->email

This commit is contained in:
Michiel Broek 2007-09-04 19:06:16 +00:00
parent 52eae9a265
commit 8c5d4fc2f3
2 changed files with 5 additions and 1 deletions

View File

@ -3,6 +3,9 @@ $Id$
v0.91.11 02-Sep-2007 v0.91.11 02-Sep-2007
mbfido:
To test, date conversion for export netmail->email.
v0.91.10 21-Aug-2007 - 02-Sep-2007 v0.91.10 21-Aug-2007 - 02-Sep-2007

View File

@ -863,7 +863,8 @@ void ExportNet(unsigned int MsgNum, int UUCPgate)
/* /*
* First send all headers * First send all headers
*/ */
fprintf(fp, "Date: %s\n", rfcdate(Msg.Written)); // fprintf(fp, "Date: %s\n", rfcdate(Msg.Written));
fprintf(fp, "Date: %s\n", rfcdate(mktime(localtime(&Msg.Written))));
fprintf(fp, "From: %s@%s\n", fromname, ascinode(from, 0x2f)); fprintf(fp, "From: %s@%s\n", fromname, ascinode(from, 0x2f));
tidy_faddr(from); tidy_faddr(from);
fprintf(fp, "Subject: %s\n", Msg.Subject); fprintf(fp, "Subject: %s\n", Msg.Subject);