This commit is contained in:
RemixDev 2022-12-14 12:53:44 +01:00
commit fe43e3da5e
No known key found for this signature in database
GPG key ID: B33962B465BDB51C

View file

@ -88,7 +88,7 @@ class Album {
this.label = albumAPI.label || this.label
this.explicit = Boolean(albumAPI.explicit_lyrics || false)
let release_date = albumAPI.release_date
if (albumAPI.physical_release_date) release_date = albumAPI.physical_release_date
if (albumAPI.original_release_date) release_date = albumAPI.original_release_date
if (release_date){
this.date.year = release_date.slice(0,4)
this.date.month = release_date.slice(5,7)