diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-08 13:05:17 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-08 13:05:17 +0000 |
commit | c2e127a768bb22299cbeeada5b0d4d8e90a5425a (patch) | |
tree | e13d7eac2cb029422aaa08ccd51da75a46bfe101 /time.c | |
parent | 3a6fd339d54dc9b11a137567d6b1aefe5f3ec53d (diff) | |
download | ruby-c2e127a768bb22299cbeeada5b0d4d8e90a5425a.tar.gz |
document %g and %G for Time#strftime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |