mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
format seconds into hh:mm:ss
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
{{ song.album }}
|
||||
</div>
|
||||
</td>
|
||||
<td class="song-duration">{{ song.length }}</td>
|
||||
<td class="song-duration">{{ formatSeconds(song.length) }}</td>
|
||||
</tr>
|
||||
</template>
|
||||
|
||||
@@ -66,6 +66,7 @@ export default {
|
||||
emitLoadAlbum,
|
||||
is_playing: state.is_playing,
|
||||
current: state.current,
|
||||
formatSeconds: perks.formatSeconds,
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user