summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-18 14:05:39 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-18 14:05:39 +0000
commit0858cbf3fd16ee839810e059b8ab46ead00515d4 (patch)
treea775d576f2f38bd20f3fcc4fbafa6f12793f8ba9
parent196833eb80c93bb8ac1f632a9b6815b2b9e13c1b (diff)
update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/time.c b/time.c
index e6a02e5440..b576330128 100644
--- a/time.c
+++ b/time.c
@@ -4364,8 +4364,8 @@ strftimev(const char *fmt, VALUE time)
* 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)