Skip to content
Snippets Groups Projects
Commit f4ab862a authored by rswindell's avatar rswindell
Browse files

Fix VOTING.DAT creation issue: missing original date/time/zone stamps.

parent 857713fc
No related branches found
No related tags found
No related merge requests found
......@@ -98,6 +98,14 @@ ulong sbbs_t::msgtoqwk(smbmsg_t* msg, FILE *qwk_fp, long mode, uint subnum
fprintf(voting, "%s: %s\n",smb_hfieldtype(SUBJECT), msg->subj);
if((p = get_replyid(&cfg, &smb, msg, reply_id, sizeof(reply_id))) != NULL)
fprintf(voting, "%s: %s\n", smb_hfieldtype(RFC822REPLYID), p);
/* Time/Date/Zone info */
fprintf(voting,"WhenWritten: %-20s %04hx\n"
,xpDateTime_to_isoDateTimeStr(
time_to_xpDateTime(msg->hdr.when_written.time,smb_tzutc(msg->hdr.when_written.zone))
,/* separators: */"","","", /* precision: */0
,str,sizeof(str))
,msg->hdr.when_written.zone
);
/* SENDER */
fprintf(voting, "%s: %s\n", smb_hfieldtype(SENDER), msg->from);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment