Fix date being used in mail packets, timezone was effectively being to a timestamp with the timezone already
This commit is contained in:
@@ -55,8 +55,8 @@ class Ping extends Netmails
|
||||
$msg->addText(
|
||||
sprintf("Your ping was received here on %s and it looks like you sent it on %s. If that is correct, then it took %s to get here.\r\r",
|
||||
Carbon::now()->utc()->toDateTimeString(),
|
||||
$this->mo->date->utc()->toDateTimeString(),
|
||||
$this->mo->date->diffForHumans(['parts'=>3,'syntax'=>CarbonInterface::DIFF_ABSOLUTE])
|
||||
$this->mo->datetime->utc()->toDateTimeString(),
|
||||
$this->mo->datetime->diffForHumans(['parts'=>3,'syntax'=>CarbonInterface::DIFF_ABSOLUTE])
|
||||
)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user