summaryrefslogtreecommitdiffstats
path: root/strftime.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-06 14:55:22 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-06 14:55:22 +0000
commit1a8f97cc8ef5a6cb45af87a26edada662821411c (patch)
tree5aca8e082d65480780af92ecd23be2226df09b84 /strftime.c
parent7660884ffd3db05c74b2d656a8285e1081571bc9 (diff)
downloadruby-1a8f97cc8ef5a6cb45af87a26edada662821411c.tar.gz
ruby-1a8f97cc8ef5a6cb45af87a26edada662821411c.tar.xz
ruby-1a8f97cc8ef5a6cb45af87a26edada662821411c.zip
* strftime.c: %l should be 1..12 instead of 0..12 [ruby-core:27072]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'strftime.c')
-rw-r--r--strftime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strftime.c b/strftime.c
index 0ffe6f2bb..db6591b77 100644
--- a/strftime.c
+++ b/strftime.c
@@ -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",