diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdtime/strptime.c | 2 |
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; |