summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index ad4ca24630..6fd2fee19b 100644
--- a/time.c
+++ b/time.c
@@ -314,7 +314,7 @@ make_time_t(tptr, utc_or_local)
if (!utc_or_local) { /* localtime zone adjust */
#if defined(HAVE_TM_ZONE)
tm = localtime(&guess);
- guess += tm->tm_gmtoff;
+ guess -= tm->tm_gmtoff;
#else
struct tm gt, lt;
long tzsec;