diff options
author | thlo <smarttv640@gmail.com> | 2013-07-24 20:32:03 +0200 |
---|---|---|
committer | thlo <t.lohmar@gmx.de> | 2013-07-24 20:32:03 +0200 |
commit | 0ecc9a2ca4c3604ef2590fef5b3072417689a7d3 (patch) | |
tree | 3e8d88ad1c84e9f537d1fa8853ddd00f200760d0 /smarttv-client/Javascript/Display.js | |
parent | d8688559455cc3cd86f41e816568d099f07f3800 (diff) | |
download | vdr-plugin-smarttvweb-0ecc9a2ca4c3604ef2590fef5b3072417689a7d3.tar.gz vdr-plugin-smarttvweb-0ecc9a2ca4c3604ef2590fef5b3072417689a7d3.tar.bz2 |
Widget updates:
- Multi-Server Support
- Number key personalization for recordings
- Timezone fix
- Fix in YouTube Handling
- Fix in Helpbar
- Other misc fixes
Diffstat (limited to 'smarttv-client/Javascript/Display.js')
-rwxr-xr-x | smarttv-client/Javascript/Display.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/smarttv-client/Javascript/Display.js b/smarttv-client/Javascript/Display.js index 94743bd..6246406 100755 --- a/smarttv-client/Javascript/Display.js +++ b/smarttv-client/Javascript/Display.js @@ -102,12 +102,12 @@ Display.GetEpochTime = function() { // Samsung specific UTC time function
// res = Display.pluginTime.GetEpochTime();
var now_millis = ((new Date).getTime());
- res = (now_millis /1000.0);
+ res = ((now_millis /1000.0) - (Config.tzCorrection * 60));
break;
default:
var now_millis = ((new Date).getTime());
- res = (now_millis /1000.0);
+ res = ((now_millis /1000.0) - (Config.tzCorrection * 60));
break;
}
@@ -949,7 +949,7 @@ Display.handlerShowProgress = function() { $("#olTimeInfo").text(Player.curPlayTimeStr + " / " + Player.getDurationStr());
var Digital=new Date();
- var hours=Digital.getHours();
+ var hours= (Digital.getHours()- Config.tzCorrection ) ;
var minutes=Digital.getMinutes();
if (minutes<=9)
minutes='0'+minutes;
@@ -974,7 +974,7 @@ ClockHandler.start = function(elm){ ClockHandler.update = function() {
var date = new Date();
- var hours= date.getHours();
+ var hours= (date.getHours() - Config.tzCorrection);
var minutes= date.getMinutes();
if (minutes<=9)
minutes='0'+minutes;
|