mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
No longer subsec and isdst members
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0bed6345ce
commit
6fdbf5a804
1 changed files with 0 additions and 6 deletions
6
time.c
6
time.c
|
@ -5090,12 +5090,6 @@ tm_initialize(int argc, VALUE *argv, VALUE tm)
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue