format seconds into hh:mm:ss

This commit is contained in:
geoffrey45
2022-02-09 22:15:46 +03:00
parent 214ae82344
commit e7741937a3
6 changed files with 79 additions and 48 deletions
+2 -1
View File
@@ -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,
};
},
};