[kaleidescape] Remove Apache StringEscapeUtils (#14513)
* Remove Apache StringEscapeUtils * add tests Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
This commit is contained in:
@@ -229,7 +229,9 @@ String z1_Detail_DiscLocation "Disc Location: [%s]" { channel="kaleidescape:play
|
||||
ksecondsformat.js:
|
||||
|
||||
```javascript
|
||||
(function(totalSeconds) {
|
||||
(function(timestamp) {
|
||||
var totalSeconds = Date.parse(timestamp) / 1000
|
||||
|
||||
if (isNaN(totalSeconds)) {
|
||||
return '-';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user