Fix date being used in mail packets, timezone was effectively being to a timestamp with the timezone already
This commit is contained in:
@@ -497,7 +497,7 @@ class Message extends FTNBase
|
||||
$this->mo->tftn->host_id, // Destination Net
|
||||
$this->mo->flags&~(self::FLAG_INTRANSIT|self::FLAG_LOCAL), // Turn off our local/intransit bits
|
||||
$this->mo->cost,
|
||||
$this->mo->date->format('d M y H:i:s'),
|
||||
$this->mo->datetime->format('d M y H:i:s'),
|
||||
);
|
||||
|
||||
$return .= $this->mo->to."\00";
|
||||
@@ -523,7 +523,7 @@ class Message extends FTNBase
|
||||
$return .= sprintf("AREA:%s\r",strtoupper($this->mo->echoarea->name));
|
||||
|
||||
// Add some kludges
|
||||
$return .= sprintf("\01TZUTC: %s\r",str_replace('+','',$this->mo->date->getOffsetString('')));
|
||||
$return .= sprintf("\01TZUTC: %s\r",str_replace('+','',$this->mo->datetime->getOffsetString('')));
|
||||
|
||||
if ($this->mo->msgid)
|
||||
$return .= sprintf("\01MSGID: %s\r",$this->mo->msgid);
|
||||
|
Reference in New Issue
Block a user