Store datetime in UTC format now, and fix presentation of TZUTC. Also standardise message summaries on Notifications
This commit is contained in:
@@ -269,7 +269,8 @@ class System extends Model
|
||||
*/
|
||||
public function packet(Address $ao,string $password=NULL): Packet
|
||||
{
|
||||
// @todo Check that the address is one of the system's addresses
|
||||
if ($ao->system_id !== $this->id)
|
||||
throw new \Exception('Packet for [%s] is not for system [%d]',$ao->ftn,$this->id);
|
||||
|
||||
return
|
||||
(new (collect(Packet::PACKET_TYPES)
|
||||
|
Reference in New Issue
Block a user