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

ruby-changes:16587

From: akr <ko1@a...>
Date: Thu, 8 Jul 2010 22:05:29 +0900 (JST)
Subject: [ruby-changes:16587] Ruby:r28579 (trunk): document %g and %G for Time#strftime.

akr	2010-07-08 22:05:17 +0900 (Thu, 08 Jul 2010)

  New Revision: 28579

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

  Log:
    document %g and %G for Time#strftime.

  Modified files:
    trunk/time.c

Index: time.c
===================================================================
--- time.c	(revision 28578)
+++ time.c	(revision 28579)
@@ -4310,6 +4310,8 @@
  *    %D - Date (%m/%d/%y)
  *    %e - Day of the month, blank-padded ( 1..31)
  *    %F - Equivalent to %Y-%m-%d (the ISO 8601 date format)
+ *    %g - The last 2 digits of the week-based year according to ISO 8601
+ *    %G - The week-based year according to ISO 8601
  *    %h - Equivalent to %b
  *    %H - Hour of the day, 24-hour clock (00..23)
  *    %I - Hour of the day, 12-hour clock (01..12)

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

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