* strftime.c: %l should be 1..12 instead of 0..12 [ruby-core:27072]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2009-12-06 14:55:22 +00:00
parent 5e795ef8f6
commit c121f78b9a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Sun Dec 6 23:50:46 2009 NARUSE, Yui <naruse@ruby-lang.org>
* strftime.c: %l should be 1..12 instead of 0..12 [ruby-core:27072]
Sun Dec 6 23:16:35 2009 Tanaka Akira <akr@fsij.org>
* lib/find.rb (Find.find): reduce stat system call.

View File

@ -1164,7 +1164,7 @@ static char *array[] =
"(%%h) should be same as (%%b) %h",
"(%%j) day of the year (001..366) %j",
"(%%k) hour, 24-hour clock, blank pad ( 0..23) %k",
"(%%l) hour, 12-hour clock, blank pad ( 0..12) %l",
"(%%l) hour, 12-hour clock, blank pad ( 1..12) %l",
"(%%m) month (01..12) %m",
"(%%p) locale's AM or PM based on 12-hour clock %p",
"(%%r) time, 12-hour (same as %%I:%%M:%%S %%p) %r",