fix other places of duration display (and other minor fixes) (#249)

* fix other places of duration display

* add back comma

* add max-width for image
This commit is contained in:
Kendall Garner 2023-09-20 23:07:40 +00:00 committed by GitHub
parent ec457d5125
commit 6e62448b88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View file

@ -45,7 +45,7 @@ export const RemoteContainer = () => {
<Title order={2}>Artist: {song.artistName}</Title>
</Group>
<Group position="apart">
<Title order={3}>Duration: {formatDuration(song.duration * 1000)}</Title>
<Title order={3}>Duration: {formatDuration(song.duration)}</Title>
{song.releaseDate && (
<Title order={3}>
Released: {new Date(song.releaseDate).toLocaleDateString()}