summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-14 05:50:32 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-14 05:50:32 +0000
commit8c4f656b6cbc088d215b0fd083611e7e6b6040a5 (patch)
tree11e33175cd4f48ec8a806ad6822ef4a7474d147f /time.c
parentabc49e493d6c1dc47586a7d1b616df5237bd606f (diff)
2000-06-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 ad4ca24..6fd2fee 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;