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

ruby-changes:10760

From: akr <ko1@a...>
Date: Sun, 15 Feb 2009 16:18:19 +0900 (JST)
Subject: [ruby-changes:10760] Ruby:r22325 (trunk): rdoc update.

akr	2009-02-15 16:18:14 +0900 (Sun, 15 Feb 2009)

  New Revision: 22325

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

  Log:
    rdoc update.

  Modified files:
    trunk/lib/time.rb

Index: lib/time.rb
===================================================================
--- lib/time.rb	(revision 22324)
+++ lib/time.rb	(revision 22325)
@@ -214,11 +214,11 @@
     #
     #     # Suppose it is "Thu Nov 29 14:33:20 GMT 2001" now and
     #     # your timezone is GMT:
-    #     now = 
-    #     Time.parse("16:30")     #=> 2001-11-29 16:30:00 +0900
-    #     Time.parse("7/23")      #=> 2001-07-23 00:00:00 +0900
-    #     Time.parse("Aug 31")    #=> 2001-08-31 00:00:00 +0900
-    #     Time.parse("Aug 2000")  #=> 2000-08-01 00:00:00 +0900
+    #     now = Time.parse("Thu Nov 29 14:33:20 GMT 2001")
+    #     Time.parse("16:30", now)     #=> 2001-11-29 16:30:00 +0900
+    #     Time.parse("7/23", now)      #=> 2001-07-23 00:00:00 +0900
+    #     Time.parse("Aug 31", now)    #=> 2001-08-31 00:00:00 +0900
+    #     Time.parse("Aug 2000", now)  #=> 2000-08-01 00:00:00 +0900
     #
     # Since there are numerous conflicts among locally defined timezone
     # abbreviations all over the world, this method is not made to

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

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