From ade73091cbe5cc5cfd5263e314490f7cc91bec64 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 12 Oct 2018 02:49:39 +0000 Subject: [PATCH] Initialize zone git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- time.c | 1 + 1 file changed, 1 insertion(+) 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;