Fixed release year formatting
This commit is contained in:
parent
d2ac8ca371
commit
d98362e55a
@ -20,7 +20,7 @@ class Album extends Eloquent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function releaseYear() {
|
public function releaseYear() {
|
||||||
return date('%Y', strtotime($this->release_date));
|
return date('Y', strtotime($this->release_date));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user