From 76fe9e893cc123b9651bcf38620794c6095bb11d Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 17 Jan 2011 17:00:36 +0000 Subject: update doc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- time.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/time.c b/time.c index c454abe4fa..e6a02e5440 100644 --- a/time.c +++ b/time.c @@ -4362,7 +4362,8 @@ strftimev(const char *fmt, VALUE time) * 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 @@ strftimev(const char *fmt, VALUE time) * %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) -- cgit v1.2.3