From c2e127a768bb22299cbeeada5b0d4d8e90a5425a Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 8 Jul 2010 13:05:17 +0000 Subject: document %g and %G for Time#strftime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- time.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'time.c') diff --git a/time.c b/time.c index 433bcdb972..eb364afffa 100644 --- a/time.c +++ b/time.c @@ -4310,6 +4310,8 @@ strftimev(const char *fmt, VALUE time) * %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) -- cgit v1.2.3