Fixed release year formatting

This commit is contained in:
gballan1 2016-11-29 11:43:46 -05:00
parent d2ac8ca371
commit d98362e55a

View File

@ -20,7 +20,7 @@ class Album extends Eloquent {
}
public function releaseYear() {
return date('%Y', strtotime($this->release_date));
return date('Y', strtotime($this->release_date));
}
}