Merge pull request #489 from Hegi/feature/format-date-time-for-shared-playlist

feat: format expire date on admin ui
This commit is contained in:
Paul 2025-04-05 20:29:28 -04:00 committed by GitHub
commit 41c1432eeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1011,7 +1011,7 @@ const dbView = Vue.component('db-view', {
<tr v-for="(v, k) in sharedPlaylists">
<th><a target="_blank" v-bind:href="'/shared/'+ v.playlistId">{{v.playlistId}}</a></th>
<th>{{v.user}}</th>
<th>{{v.expires}}</th>
<th>{{new Date(v.expires * 1000).toLocaleString()}}</th>
<th>[<a v-on:click="deletePlaylist(v)">delete</a>]</th>
</tr>
</tbody>