fix
This commit is contained in:
@@ -19,15 +19,15 @@ public function packageName()
|
|||||||
{
|
{
|
||||||
return $this->belongsTo(PackageName::class);
|
return $this->belongsTo(PackageName::class);
|
||||||
}
|
}
|
||||||
public function setTimeAttribute($value)
|
// public function setTimeAttribute($value)
|
||||||
{
|
// {
|
||||||
$this->attributes['time'] = \Carbon\Carbon::parse($value)->format('Y-m-d H:i:s.u');
|
// $this->attributes['time'] = \Carbon\Carbon::parse($value)->format('Y-m-d H:i:s.u');
|
||||||
}
|
// }
|
||||||
|
|
||||||
public function getTimeAttribute($value)
|
// public function getTimeAttribute($value)
|
||||||
{
|
// {
|
||||||
return $value; // Return as is, or format if needed
|
// return $value; // Return as is, or format if needed
|
||||||
}
|
// }
|
||||||
public function user()
|
public function user()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(User::class);
|
return $this->belongsTo(User::class);
|
||||||
|
|||||||
Reference in New Issue
Block a user