I have a weird issue with Samsung DM48E (S3) and MagicINFO web widget. Display is connected to MagicINFO server (premium licence). My goal is to publish a website via web widget to Samsung DM48E. Website has an integrated clock (javascript). Problem is that website's integrated clock is displaying wrong time by -1 hour.
What i have checked:
*Server timezone and DST settings are correct.
*Display DST, time and date is correct.
*Website integrated clock is displaying correct time everywhere else.
*What i have noticed:
*If DM48E is not connected to server and configured as URL launcher then website is displaying correct time.
* From firewall logs It seems to be that display is pulling time somewhere over HTTP. Not over NTP or from system itself.
Javascript that is used on webpage:
--
<script>
function startTime() {
var today = new Date();
var h = today.getHours();
var m = today.getMinutes();
var s = today.getSeconds();
h = h +1;
m = checkTime(m);
s = checkTime(s);
document.getElementById('kell').innerHTML =
h + ":" + m + ":" + s;
var t = setTimeout(startTime, 500);
}
function checkTime(i) {
if (i < 10) {i = "0" + i}; // add zero in front of numbers < 10
return i;
}
</script>
--
Please help!