From d98362e55af542f3395d23fb7a159f4835ecc28c Mon Sep 17 00:00:00 2001 From: gballan1 Date: Tue, 29 Nov 2016 11:43:46 -0500 Subject: [PATCH] Fixed release year formatting --- app/Fieldprotocol/Music/Album.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Fieldprotocol/Music/Album.php b/app/Fieldprotocol/Music/Album.php index 3261344..afc3198 100644 --- a/app/Fieldprotocol/Music/Album.php +++ b/app/Fieldprotocol/Music/Album.php @@ -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)); } }