[前][次][番号順一覧][スレッド一覧]

ruby-changes:18500

From: akr <ko1@a...>
Date: Wed, 12 Jan 2011 19:40:42 +0900 (JST)
Subject: [ruby-changes:18500] Ruby:r30523 (trunk): update comment.

akr	2011-01-12 19:36:08 +0900 (Wed, 12 Jan 2011)

  New Revision: 30523

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30523

  Log:
    update comment.

  Modified files:
    trunk/lib/time.rb

Index: lib/time.rb
===================================================================
--- lib/time.rb	(revision 30522)
+++ lib/time.rb	(revision 30523)
@@ -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'
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]