Fix date being used in mail packets, timezone was effectively being to a timestamp with the timezone already
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 37s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m49s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
2024-06-25 13:09:48 +10:00
parent 11b7dc4229
commit ad0ad73b0c
11 changed files with 17 additions and 15 deletions

View File

@@ -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);