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

ruby-changes:42629

From: nobu <ko1@a...>
Date: Fri, 22 Apr 2016 19:37:29 +0900 (JST)
Subject: [ruby-changes:42629] nobu:r54703 (trunk): time.c: add example [ci skip]

nobu	2016-04-22 20:34:05 +0900 (Fri, 22 Apr 2016)

  New Revision: 54703

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54703

  Log:
    time.c: add example [ci skip]
    
    * time.c (time_asctime): [DOC] add ctime example, not only
      asctime.  [ruby-core:75126] [Bug #12310]

  Modified files:
    trunk/ChangeLog
    trunk/time.c
Index: time.c
===================================================================
--- time.c	(revision 54702)
+++ time.c	(revision 54703)
@@ -3547,6 +3547,7 @@ static VALUE strftime_cstr(const char *f https://github.com/ruby/ruby/blob/trunk/time.c#L3547
  *  Returns a canonical string representation of _time_.
  *
  *     Time.now.asctime   #=> "Wed Apr  9 08:56:03 2003"
+ *     Time.now.ctime     #=> "Wed Apr  9 08:56:03 2003"
  */
 
 static VALUE
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54702)
+++ ChangeLog	(revision 54703)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Apr 22 20:34:04 2016  Nobuyoshi Nakada  <nobu@r...>
+
+	* time.c (time_asctime): [DOC] add ctime example, not only
+	  asctime.  [ruby-core:75126] [Bug #12310]
+
 Fri Apr 22 18:44:32 2016  NARUSE, Yui  <naruse@r...>
 
 	* variable.c: use uint32_t instead of long to avoid confusion about

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

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