* ext/date/date_strftime.c: allows %Ok and %Ol.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6ba96bbe4e
commit
83d8d057c2
@ -1,3 +1,7 @@
|
|||||||
|
Sun May 27 10:02:33 2012 Tadayoshi Funaba <tadf@dotrb.org>
|
||||||
|
|
||||||
|
* ext/date/date_strftime.c: allows %Ok and %Ol.
|
||||||
|
|
||||||
Sun May 27 09:29:20 2012 Tadayoshi Funaba <tadf@dotrb.org>
|
Sun May 27 09:29:20 2012 Tadayoshi Funaba <tadf@dotrb.org>
|
||||||
|
|
||||||
* ext/date/date_core.c: modified doc.
|
* ext/date/date_core.c: modified doc.
|
||||||
|
@ -526,8 +526,7 @@ date_strftime_with_tmx(char *s, size_t maxsize, const char *format,
|
|||||||
case 'O':
|
case 'O':
|
||||||
/* POSIX locale extensions, ignored for now */
|
/* POSIX locale extensions, ignored for now */
|
||||||
flags |= BIT_OF(LOCALE_O);
|
flags |= BIT_OF(LOCALE_O);
|
||||||
if (*(format + 1) && strchr("deHImMSuUVwWy",
|
if (*(format + 1) && strchr("deHkIlmMSuUVwWy", *(format + 1)))
|
||||||
*(format + 1)))
|
|
||||||
goto again;
|
goto again;
|
||||||
goto unknown;
|
goto unknown;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user