summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime/strptime.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdtime/strptime.c')
-rw-r--r--lib/libc/stdtime/strptime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/strptime.c b/lib/libc/stdtime/strptime.c
index 40ce9d9..7570381 100644
--- a/lib/libc/stdtime/strptime.c
+++ b/lib/libc/stdtime/strptime.c
@@ -258,7 +258,7 @@ label:
if (c == 'H' || c == 'k') {
if (i > 23)
return 0;
- } else if (i > 11)
+ } else if (i > 12)
return 0;
tm->tm_hour = i;
OpenPOWER on IntegriCloud