feat: format expire date on admin ui

This commit is contained in:
Istvan Hegedus 2025-01-27 22:31:01 -07:00
parent 81a931c884
commit adacc6a0f6
No known key found for this signature in database
GPG Key ID: 5EA20B26586A6614

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>