ruby-changes:18571
From: akr <ko1@a...>
Date: Tue, 18 Jan 2011 23:05:44 +0900 (JST)
Subject: [ruby-changes:18571] Ruby:r30594 (trunk): update doc.
akr 2011-01-18 23:05:39 +0900 (Tue, 18 Jan 2011) New Revision: 30594 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30594 Log: update doc. Modified files: trunk/time.c Index: time.c =================================================================== --- time.c (revision 30593) +++ time.c (revision 30594) @@ -4364,8 +4364,8 @@ * Date (Year, Month, Day): * %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) + * %C - year / 100 (round down. 20 in 2009) + * %y - year % 100 (00..99) * * %m - Month of the year, zero-padded (01..12) * %_m blank-padded ( 1..12) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/