fix: album release sort
This commit is contained in:
parent
48d27c8ca9
commit
ff288d4a6f
3 changed files with 5 additions and 4 deletions
|
@ -32,6 +32,7 @@ export default async function () {
|
|||
url: album['release_link'],
|
||||
genre: album['artists']['genre'],
|
||||
mbid: album['artists']['mbid'],
|
||||
timestamp: DateTime.fromISO(album['release_date']).toSeconds()
|
||||
}
|
||||
})
|
||||
}).sort((a, b) => a.timestamp - b.timestamp)
|
||||
}
|
||||
|
|
Reference in a new issue