Add timezone aliases
This commit is contained in:
@@ -92,6 +92,15 @@ class User extends Authenticatable
|
||||
return $this->getPilotIdAttribute();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the timezone
|
||||
* @return mixed
|
||||
*/
|
||||
public function getTzAttribute()
|
||||
{
|
||||
return $this->timezone;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $size Size of the gravatar, in pixels
|
||||
* @return string
|
||||
|
||||
Reference in New Issue
Block a user