diff options
author | Tanaka Akira <[email protected]> | 2020-01-28 23:40:25 +0900 |
---|---|---|
committer | Tanaka Akira <[email protected]> | 2020-01-28 23:40:25 +0900 |
commit | 338c5b8c1dc061e9f8d21f6d9f5ac053c4497383 (patch) | |
tree | b5cc7143cb75eb026c49f24dc83bf4b859f2c39f /time.c | |
parent | fb41246ddb2dd3c1b4595cd7e27ed3710def3fc8 (diff) |
Extract a function, ruby_reset_timezone().
Initial implementation of ruby_reset_timezone()
assigns ruby_tz_uptodate_p to false.
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -683,6 +683,12 @@ static VALUE tm_from_time(VALUE klass, VALUE time); bool ruby_tz_uptodate_p; +void +ruby_reset_timezone(void) +{ + ruby_tz_uptodate_p = false; +} + static void update_tz(void) { |