Ping/Test send/recevied time was switched
This commit is contained in:
parent
fbfa2d5183
commit
e8a9508391
@ -33,8 +33,8 @@ final class Ping extends Process
|
||||
$ftns = Setup::findOrFail(config('app.id'))->system->match($msg->fftn_o->zone)->first();
|
||||
|
||||
$reply = 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",
|
||||
$msg->date->utc()->toDateTimeString(),
|
||||
Carbon::now()->utc()->toDateTimeString(),
|
||||
$msg->date->utc()->toDateTimeString(),
|
||||
$msg->date->diffForHumans(['parts'=>3,'syntax'=>CarbonInterface::DIFF_ABSOLUTE])
|
||||
);
|
||||
|
||||
|
@ -35,8 +35,8 @@ final class Test extends Process
|
||||
$ftns = Setup::findOrFail(config('app.id'))->system->match($msg->fftn_o->zone)->first();
|
||||
|
||||
$reply = sprintf("Your test 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",
|
||||
$msg->date->utc()->toDateTimeString(),
|
||||
Carbon::now()->utc()->toDateTimeString(),
|
||||
$msg->date->utc()->toDateTimeString(),
|
||||
$msg->date->diffForHumans(['parts'=>3,'syntax'=>CarbonInterface::DIFF_ABSOLUTE])
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user