summaryrefslogtreecommitdiff
path: root/lib/time.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-12 10:36:08 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-12 10:36:08 +0000
commitd737ae54496e6ea5a4d9f054245503ca06a5bfcd (patch)
treecbd07ae1817fa707bd046ddfdb625417a3957227 /lib/time.rb
parentfd2f238560fb1dfc664036618f05eaa9ebc8cbaa (diff)
update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/time.rb')
-rw-r--r--lib/time.rb6
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'