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

ruby-changes:18563

From: akr <ko1@a...>
Date: Tue, 18 Jan 2011 02:08:17 +0900 (JST)
Subject: [ruby-changes:18563] Ruby:r30586 (trunk): update doc.

akr	2011-01-18 02:00:36 +0900 (Tue, 18 Jan 2011)

  New Revision: 30586

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

  Log:
    update doc.

  Modified files:
    trunk/time.c

Index: time.c
===================================================================
--- time.c	(revision 30585)
+++ time.c	(revision 30586)
@@ -4362,7 +4362,8 @@
  *  Format directives:
  *
  *    Date (Year, Month, Day):
- *      %Y - Year with century
+ *      %Y - Year with century (can be negative, 4 digits at least)
+ *              -0001, 0000, 1995, 2009, 14292, etc.
  *      %C - Century (20 in 2009)
  *      %y - Year without a century (00..99)
  *      
@@ -4398,6 +4399,7 @@
  *              %3N  millisecond (3 digits)
  *              %6N  microsecond (6 digits)
  *              %9N  nanosecond (9 digits)
+ *              %12N picosecond (12 digits)
  *      
  *    Time zone:
  *      %z - Time zone as hour and minute offset from UTC (e.g. +0900)

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

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