summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorM. Voerman <rekordc@gmail.com>2012-12-12 21:57:52 +0100
committerM. Voerman <rekordc@gmail.com>2012-12-12 21:57:52 +0100
commit0a4d2e3f4b09444679bf94eefc6cf6e4ad86d543 (patch)
treea4a20de21b9427d2ee4776321af000cd71022096 /index.html
parent8f98fed2fa6c1462d680811a9a7fcbf6a3099642 (diff)
downloadvdr-vipclient-0a4d2e3f4b09444679bf94eefc6cf6e4ad86d543.tar.gz
vdr-vipclient-0a4d2e3f4b09444679bf94eefc6cf6e4ad86d543.tar.bz2
OSD is using toFixed(0) so no more strange times like 1.9999999
Diffstat (limited to 'index.html')
-rw-r--r--index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.html b/index.html
index 8be823c..36f9188 100644
--- a/index.html
+++ b/index.html
@@ -744,9 +744,9 @@ function GetEPG(epgchan)
}
if(cds){
// CDS has short info, other providers, a little longer.
- EPGNow = th + ":" + tm + " (" + EPGminutes + " / " + ((event.duration/60)-EPGminutes) + ")" + " " + event.name + " " + EPGShortnow;
+ EPGNow = th + ":" + tm + " (" + EPGminutes + " / " + ((event.duration/60)-EPGminutes).toFixed(0) + ")" + " " + event.name + " " + EPGShortnow;
} else {
- EPGNow = th + ":" + tm + " (" + EPGminutes + " / " + ((event.duration/60)-EPGminutes) + ")" + " " + event.name + " ";
+ EPGNow = th + ":" + tm + " (" + EPGminutes + " / " + ((event.duration/60)-EPGminutes).toFixed(0) + ")" + " " + event.name + " ";
}
if (!event.time)
{
@@ -785,7 +785,7 @@ function GetEPG(epgchan)
if(cds){
// CDS has short info, other providers, a little longer.
- EPGNext = th + ":" + tm + " (" + (event.duration/60) + ")" + " " + event.name + " " + EPGShortnext;
+ EPGNext = th + ":" + tm + " (" + (event.duration/60).toFixed(0) + ")" + " " + event.name + " " + EPGShortnext;
} else {
EPGNext = th + ":" + tm + " (" + (event.duration/60) + ")" + " " + event.name + " ";
}