diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-02 07:46:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-02 07:46:38 +0000 |
commit | 99442c191435f3154c814e13e4e063db6a31e1d5 (patch) | |
tree | 3b9b9f80eea65607206cf04e7d57e4af329a6ee9 /time.c | |
parent | 28c12873eb92db5494fb142701e96bbb3bb59a20 (diff) | |
download | ruby-99442c191435f3154c814e13e4e063db6a31e1d5.tar.gz |
time.c: [DOC] Time#localtime
* time.c: state that Time#localtime does nothing when nothing
changes. [ruby-core:87675] [Bug #14880]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3405,6 +3405,9 @@ time_localtime(VALUE time) * * t.localtime("+09:00") #=> 2000-01-02 05:15:01 +0900 * t.utc? #=> false + * + * If +utc_offset+ is not given and _time_ is local time, just return + * the receiver. */ static VALUE |