Adjust to TZUTC kludge
This commit is contained in:
parent
8f988f5dc1
commit
54c79dee05
|
@ -606,6 +606,14 @@ function Packet(options) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// 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);
|
const nextBuf = packetBuffer.slice(read);
|
||||||
if(nextBuf.length > 0) {
|
if(nextBuf.length > 0) {
|
||||||
let next = function(e) {
|
let next = function(e) {
|
||||||
|
|
Loading…
Reference in New Issue