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;