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:
parent
75ac8e866b
commit
ade73091cb
1 changed files with 1 additions and 0 deletions
1
time.c
1
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue