summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-12 02:49:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-12 02:49:39 +0000
commitade73091cbe5cc5cfd5263e314490f7cc91bec64 (patch)
tree47b4360119299bc7f876a6d3c56ab9de25acff1c /time.c
parent75ac8e866ba16ce5492d02ca7a2146f5905f0bff (diff)
Initialize zone
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 061ab9e240..791dc539c9 100644
--- a/time.c
+++ b/time.c
@@ -3717,6 +3717,7 @@ time_gmtime(VALUE time)
time_modify(time);
}
+ vtm.zone = rb_fstring_usascii("UTC");
GMTIMEW(tobj->timew, &vtm);
tobj->vtm = vtm;