diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-12 10:36:08 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-12 10:36:08 +0000 |
commit | d737ae54496e6ea5a4d9f054245503ca06a5bfcd (patch) | |
tree | cbd07ae1817fa707bd046ddfdb625417a3957227 /lib | |
parent | fd2f238560fb1dfc664036618f05eaa9ebc8cbaa (diff) | |
download | ruby-d737ae54496e6ea5a4d9f054245503ca06a5bfcd.tar.gz |
update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/time.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/time.rb b/lib/time.rb index 1c43371d4e..796dfd6361 100644 --- a/lib/time.rb +++ b/lib/time.rb @@ -19,7 +19,7 @@ # # === Doesn't depend on strftime # -# This library doesn't use +strftime+. Especially #rfc2822 doesn't depend +# This library doesn't use +Time#strftime+. Especially #rfc2822 doesn't depend # on +strftime+ because: # # * %a and %b are locale sensitive @@ -35,6 +35,10 @@ # %z is required to generate zone in date-time of RFC 2822 # but it is not portable. # +# Note that +Time#strftime+ doesn't use +strftime()+ function in libc since Ruby 1.9. +# This means +Time#strftime+ is locale-insensitive since Ruby 1.9. +# The above statements are not valid now. +# require 'date/format' |