diff --git a/core/ftn_mail_packet.js b/core/ftn_mail_packet.js index df8f9820..0ef88a9e 100644 --- a/core/ftn_mail_packet.js +++ b/core/ftn_mail_packet.js @@ -604,7 +604,15 @@ function Packet(options) { if(self.options.keepTearAndOrigin) { msg.message += `${messageBodyData.originLine}\r\n`; } - } + } + + // + // If we have a UTC offset kludge (e.g. TZUTC) then update + // modDateTime with it + // + if(_.isString(msg.meta.FtnKludge.TZUTC) && msg.meta.FtnKludge.TZUTC.length > 0) { + msg.modDateTime = msg.modTimestamp.utcOffset(msg.meta.FtnKludge.TZUTC); + } const nextBuf = packetBuffer.slice(read); if(nextBuf.length > 0) {