The Issue with the time is the javascript in 
/zport/portal_skins/zenmodel/templates in the updateTime method the method get 
the time and timezone of the  users local workstation and not the system time. 
if you change the line 
$('system_clock').innerHTML = toISOTime(servernow); 
to 
$('system_clock').innerHTML = servernow; 

you will see the timezone set to your time and timezone on your  local machine 

to test this change the time on your local workstation and the time will be 
displayed of your local workstation.

as far as a fix I changed the code to set it to UTC time here is the changed 
method this also helps since the graps are in utc

function updateTime(){
        // create Date object for current location
        var d = new Date();
        // convert to msec
        // add local time zone offset
        // get UTC time in msec
        var utc = d.getTime() + (d.getTimezoneOffset() * 60000);
        var servernow = new Date(utc);
        $('system_clock').innerHTML = toISOTime(servernow);
        callLater(1, updateTime);
    }

Thanks,
Pete




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=15393#15393

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to