aboutsummaryrefslogtreecommitdiffstats
path: root/timev.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-08 10:00:43 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-08 10:00:43 +0000
commitae61a22822ce8fab0991a7b2b543150629475138 (patch)
tree1194fadf713bee5f307363679de01a70f86fe131 /timev.h
parentf941cc1028562c0cbe5bc09346a20cf0cb5d6197 (diff)
downloadruby-ae61a22822ce8fab0991a7b2b543150629475138.tar.gz
Store String as zone in struct vtm.
This removes zone_table and use fstring instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'timev.h')
-rw-r--r--timev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/timev.h b/timev.h
index e855e747f2..e1fc73c398 100644
--- a/timev.h
+++ b/timev.h
@@ -5,7 +5,7 @@ PACKED_STRUCT_UNALIGNED(struct vtm {
VALUE year; /* 2000 for example. Integer. */
VALUE subsecx; /* 0 <= subsecx < TIME_SCALE. possibly Rational. */
VALUE utc_offset; /* -3600 as -01:00 for example. possibly Rational. */
- const char *zone; /* "JST", "EST", "EDT", etc. */
+ VALUE zone; /* "JST", "EST", "EDT", etc. as String */
unsigned int yday:9; /* 1..366 */
unsigned int mon:4; /* 1..12 */
unsigned int mday:5; /* 1..31 */