New time offset method
This commit is contained in:
parent
d710da1cdd
commit
dd9f8f9aa8
@ -863,8 +863,7 @@ 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 + (gmt_offset((time_t)0) * 60)));
|
||||||
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);
|
||||||
|
Reference in New Issue
Block a user