diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | time/strftime.c | 5 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2000-08-28 Ulrich Drepper <drepper@redhat.com> + + * time/strftime.c (my_strftime): Handle # flag for %b as well. + 2000-08-27 H.J. Lu <hjl@gnu.org> * posix/Makefile (otherlibs): Add for building with static-nss diff --git a/time/strftime.c b/time/strftime.c index c8334d9..abda62b 100644 --- a/time/strftime.c +++ b/time/strftime.c @@ -746,6 +746,11 @@ my_strftime (s, maxsize, format, tp ut_argument) case L_('b'): case L_('h'): /* POSIX.2 extension. */ + if (change_case) + { + to_uppcase = 1; + to_lowcase = 0; + } if (modifier != 0) goto bad_format; #if defined _NL_CURRENT || !HAVE_STRFTIME |