From 8690e8eb8511ac6d60a8402ba67607f3d934ddb1 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 28 May 2004 05:53:24 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3461 --- client/win/hostinfo_win.cpp | 2 +- html/inc/host.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/win/hostinfo_win.cpp b/client/win/hostinfo_win.cpp index c37f961ceb..ed1b73e5e4 100755 --- a/client/win/hostinfo_win.cpp +++ b/client/win/hostinfo_win.cpp @@ -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) diff --git a/html/inc/host.inc b/html/inc/host.inc index 44e63cfe9a..2d939ae99c 100644 --- a/html/inc/host.inc +++ b/html/inc/host.inc @@ -27,7 +27,7 @@ function show_host($host, $private, $ipprivate) { row2("IP address", "id&ipprivate=1>Show IP address"); } 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"); }