summaryrefslogtreecommitdiff
path: root/js/shows.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/shows.js')
-rw-r--r--js/shows.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/shows.js b/js/shows.js
index 6da6345..cbf4d73 100644
--- a/js/shows.js
+++ b/js/shows.js
@@ -167,7 +167,7 @@ function shows_newCartEntry(elem) {
return $('<tr>').append($('<td rowspan=2>').text(elem))
.append($('<td>').text(cart.title))
- .append($('<td>').text(cart.length))
+ .append($('<td>').text(msToTimeString(cart.length)))
.append($('<td>').text(cart.imported))
.append($('<td>').text(cart.playcnt))
.append($('<td>').text(cart.lastplayed))
@@ -190,7 +190,7 @@ function shows_updateGroupCartList(data, status, req) {
number = $(this).find('number').text(),
cart = {
title: $(this).find('title').text(),
- length: $(cut).find('length').text(),
+ length: Number($(cut).find('length').text()),
imported: new Date($(cut).find('originDatetime').text()),
playcnt: $(cut).find('playCounter').text(),
lastplayed: new Date($(cut).find('lastPlayDatetime').text()),