summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time.c')
-rw-r--r--time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/time.c b/time.c
index abe64c7170..3bbfce6b38 100644
--- a/time.c
+++ b/time.c
@@ -1896,6 +1896,7 @@ time_set_utc_offset(VALUE time, VALUE off)
GetTimeval(time, tobj);
tobj->tm_got = 0;
+ tobj->vtm.zone = Qnil;
TZMODE_SET_FIXOFF(tobj, off);
return time;