ruby-changes:40429
From: naruse <ko1@a...>
Date: Tue, 10 Nov 2015 02:18:47 +0900 (JST)
Subject: [ruby-changes:40429] naruse:r52510 (trunk): fix comment: tobj->gmt is 0:localtime 1:utc 2:fixoff 3:init
naruse 2015-11-10 02:18:35 +0900 (Tue, 10 Nov 2015) New Revision: 52510 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52510 Log: fix comment: tobj->gmt is 0:localtime 1:utc 2:fixoff 3:init see also TIME_UTC_P and TIME_LOCALTIME_P Modified files: trunk/time.c Index: time.c =================================================================== --- time.c (revision 52509) +++ time.c (revision 52510) @@ -1747,7 +1747,7 @@ localtimew(wideval_t timew, struct vtm * https://github.com/ruby/ruby/blob/trunk/time.c#L1747 PACKED_STRUCT_UNALIGNED(struct time_object { wideval_t timew; /* time_t value * TIME_SCALE. possibly Rational. */ struct vtm vtm; - uint8_t gmt:3; /* 0:utc 1:localtime 2:fixoff 3:init */ + uint8_t gmt:3; /* 0:localtime 1:utc 2:fixoff 3:init */ uint8_t tm_got:1; }); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/