1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Initialize zone

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-10-12 02:49:39 +00:00
parent 75ac8e866b
commit ade73091cb

1
time.c
View file

@ -3717,6 +3717,7 @@ time_gmtime(VALUE time)
time_modify(time);
}
vtm.zone = rb_fstring_usascii("UTC");
GMTIMEW(tobj->timew, &vtm);
tobj->vtm = vtm;