mirror of
https://gitlab.com/RemixDev/deemix-js.git
synced 2024-12-28 02:16:08 +00:00
Merge branch 'main' of https://gitlab.com/RemixDev/deemix-js into main
This commit is contained in:
commit
fe43e3da5e
|
@ -88,7 +88,7 @@ class Album {
|
||||||
this.label = albumAPI.label || this.label
|
this.label = albumAPI.label || this.label
|
||||||
this.explicit = Boolean(albumAPI.explicit_lyrics || false)
|
this.explicit = Boolean(albumAPI.explicit_lyrics || false)
|
||||||
let release_date = albumAPI.release_date
|
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){
|
if (release_date){
|
||||||
this.date.year = release_date.slice(0,4)
|
this.date.year = release_date.slice(0,4)
|
||||||
this.date.month = release_date.slice(5,7)
|
this.date.month = release_date.slice(5,7)
|
||||||
|
|
Loading…
Reference in a new issue