mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix comment: tobj->gmt is 0:localtime 1:utc 2:fixoff 3:init
see also TIME_UTC_P and TIME_LOCALTIME_P git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
13a31356d8
commit
2b15d16987
1 changed files with 1 additions and 1 deletions
2
time.c
2
time.c
|
@ -1747,7 +1747,7 @@ localtimew(wideval_t timew, struct vtm *result)
|
|||
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;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue