ruby-changes:23764
From: tadf <ko1@a...>
Date: Sun, 27 May 2012 10:04:59 +0900 (JST)
Subject: [ruby-changes:23764] tadf:r35815 (trunk): * ext/date/date_strftime.c: allows %Ok and %Ol.
tadf 2012-05-27 10:04:41 +0900 (Sun, 27 May 2012) New Revision: 35815 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35815 Log: * ext/date/date_strftime.c: allows %Ok and %Ol. Modified files: trunk/ChangeLog trunk/ext/date/date_strftime.c Index: ChangeLog =================================================================== --- ChangeLog (revision 35814) +++ ChangeLog (revision 35815) @@ -1,3 +1,7 @@ +Sun May 27 10:02:33 2012 Tadayoshi Funaba <tadf@d...> + + * ext/date/date_strftime.c: allows %Ok and %Ol. + Sun May 27 09:29:20 2012 Tadayoshi Funaba <tadf@d...> * ext/date/date_core.c: modified doc. Index: ext/date/date_strftime.c =================================================================== --- ext/date/date_strftime.c (revision 35814) +++ ext/date/date_strftime.c (revision 35815) @@ -526,8 +526,7 @@ case 'O': /* POSIX locale extensions, ignored for now */ flags |= BIT_OF(LOCALE_O); - if (*(format + 1) && strchr("deHImMSuUVwWy", - *(format + 1))) + if (*(format + 1) && strchr("deHkIlmMSuUVwWy", *(format + 1))) goto again; goto unknown; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/