mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3461
This commit is contained in:
parent
2de0f5a1bb
commit
8690e8eb85
|
@ -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)
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue