diff options
Diffstat (limited to 'lib/time.rb')
-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' |