ruby-changes:53093
From: nobu <ko1@a...>
Date: Mon, 22 Oct 2018 23:03:07 +0900 (JST)
Subject: [ruby-changes:53093] nobu:r65307 (trunk): No longer subsec and isdst members
nobu 2018-10-22 23:02:59 +0900 (Mon, 22 Oct 2018) New Revision: 65307 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65307 Log: No longer subsec and isdst members Modified files: trunk/time.c Index: time.c =================================================================== --- time.c (revision 65306) +++ time.c (revision 65307) @@ -5090,12 +5090,6 @@ tm_initialize(int argc, VALUE *argv, VAL https://github.com/ruby/ruby/blob/trunk/time.c#L5090 RSTRUCT_SET(tm, i++, INT2FIX(vtm.mday)); RSTRUCT_SET(tm, i++, INT2FIX(vtm.mon)); RSTRUCT_SET(tm, i++, vtm.year); - RSTRUCT_SET(tm, i++, INT2FIX(0)); - switch (vtm.isdst) { - case 0: RSTRUCT_SET(tm, i++, Qfalse); break; - case 1: RSTRUCT_SET(tm, i++, Qtrue); break; - default: RSTRUCT_SET(tm, i++, Qnil); break; - } RSTRUCT_SET(tm, i++, w2v(rb_time_unmagnify(t))); return tm; #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/