*** empty log message ***

svn path=/trunk/boinc/; revision=3461
This commit is contained in:
David Anderson 2004-05-28 05:53:24 +00:00
parent 2de0f5a1bb
commit 8690e8eb85
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ int get_timezone(void) {
TIME_ZONE_INFORMATION tzi;
ZeroMemory(&tzi, sizeof(TIME_ZONE_INFORMATION));
GetTimeZoneInformation(&tzi);
return (tzi.Bias * 60);
return -(tzi.Bias * 60);
}
// Gets windows specific host information (not complete)

View File

@ -27,7 +27,7 @@ function show_host($host, $private, $ipprivate) {
row2("IP address", "<a href=show_host_detail.php?hostid=$host->id&ipprivate=1>Show IP address</a>");
}
row2("Domain name", $host->domain_name);
$x = -$host->timezone/3600;
$x = $host->timezone/3600;
if ($x > 0) $x="+$x";
row2("Time zone", "UTC $x hours");
}