summaryrefslogtreecommitdiff
path: root/ext/date/date_strftime.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/date_strftime.c')
-rw-r--r--ext/date/date_strftime.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/date/date_strftime.c b/ext/date/date_strftime.c
index 4236666fa63..b162413b90f 100644
--- a/ext/date/date_strftime.c
+++ b/ext/date/date_strftime.c
@@ -526,8 +526,7 @@ date_strftime_with_tmx(char *s, size_t maxsize, const char *format,
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;