[前][次][番号順一覧][スレッド一覧]

ruby-changes:52814

From: nobu <ko1@a...>
Date: Fri, 12 Oct 2018 11:49:44 +0900 (JST)
Subject: [ruby-changes:52814] nobu:r65026 (trunk): Initialize zone

nobu	2018-10-12 11:49:39 +0900 (Fri, 12 Oct 2018)

  New Revision: 65026

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65026

  Log:
    Initialize zone

  Modified files:
    trunk/time.c
Index: time.c
===================================================================
--- time.c	(revision 65025)
+++ time.c	(revision 65026)
@@ -3717,6 +3717,7 @@ time_gmtime(VALUE time) https://github.com/ruby/ruby/blob/trunk/time.c#L3717
 	time_modify(time);
     }
 
+    vtm.zone = rb_fstring_usascii("UTC");
     GMTIMEW(tobj->timew, &vtm);
     tobj->vtm = vtm;
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]