aboutsummaryrefslogtreecommitdiffstats
path: root/time.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-09 17:18:35 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-09 17:18:35 +0000
commitb3dbaa5874987422d249f22b68be1c3bb39a9f45 (patch)
treeba334584f7f386ef10a5087b5de6fb1be83a1c64 /time.c
parent2074e17d9a0aad60dfb24b57e240918befa0c778 (diff)
downloadruby-b3dbaa5874987422d249f22b68be1c3bb39a9f45.tar.gz
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
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index 11c76a5bac..11331a3147 100644
--- a/time.c
+++ b/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;
});