From d737ae54496e6ea5a4d9f054245503ca06a5bfcd Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 12 Jan 2011 10:36:08 +0000 Subject: update comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/time.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib') 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' -- cgit v1.2.3