summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-09-01 06:22:57 +0000
committerUlrich Drepper <drepper@redhat.com>2001-09-01 06:22:57 +0000
commit45e0579fb7f8008c3df3358ca63bf9189e236edb (patch)
tree1bd2af73894fcac810c9b10b3bc72ee05a05162e /time
parenteaad82e00522075b805621309775131e27388791 (diff)
downloadglibc-45e0579fb7f8008c3df3358ca63bf9189e236edb.tar.gz
Update.
2001-08-31 Ulrich Drepper <drepper@redhat.com> * time/strptime.c (strptime_internal): Recognize 'l' format and handle it like 'I' for symmatry with strftime.
Diffstat (limited to 'time')
-rw-r--r--time/strptime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/time/strptime.c b/time/strptime.c
index 88b13f09e6..1f440a5d2f 100644
--- a/time/strptime.c
+++ b/time/strptime.c
@@ -463,6 +463,8 @@ strptime_internal (rp, fmt, tm, decided, era_cnt)
tm->tm_hour = val;
have_I = 0;
break;
+ case 'l':
+ /* Match hour in 12-hour clock. GNU extension. */
case 'I':
/* Match hour in 12-hour clock. */
get_number (1, 12, 2);