Time conversion back from rfc to ftn uses the localtime offset
This commit is contained in:
parent
dd9f8f9aa8
commit
df88d43c9f
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user