diff options
author | M. Voerman <rekordc@gmail.com> | 2012-12-12 21:57:52 +0100 |
---|---|---|
committer | M. Voerman <rekordc@gmail.com> | 2012-12-12 21:57:52 +0100 |
commit | 0a4d2e3f4b09444679bf94eefc6cf6e4ad86d543 (patch) | |
tree | a4a20de21b9427d2ee4776321af000cd71022096 /index.html | |
parent | 8f98fed2fa6c1462d680811a9a7fcbf6a3099642 (diff) | |
download | vdr-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.html | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 + " "; } |