More Laravel/AdminLTE updates
This commit is contained in:
@@ -22,13 +22,14 @@ class Photo extends Abstracted\Catalog
|
||||
/**
|
||||
* Date the photo was taken
|
||||
*/
|
||||
public function date_taken()
|
||||
public function date_taken(): string
|
||||
{
|
||||
return $this->date_created ? (date('Y-m-d H:i:s',$this->date_created).($this->subsectime ? '.'.$this->subsectime : '')) : 'UNKNOWN';
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine the new name for the image
|
||||
* @todo Implement in Parent
|
||||
*/
|
||||
public function file_path($short=FALSE,$new=FALSE)
|
||||
{
|
||||
|
Reference in New Issue
Block a user