From c121f78b9a5e264c4817fe99320a18d58c007bb7 Mon Sep 17 00:00:00 2001 From: naruse Date: Sun, 6 Dec 2009 14:55:22 +0000 Subject: * 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 --- strftime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'strftime.c') diff --git a/strftime.c b/strftime.c index 0ffe6f2bbe..db6591b77d 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", -- cgit v1.2.3