aboutsummaryrefslogtreecommitdiff
path: root/time/strftime.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-29 04:18:58 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-29 04:18:58 +0000
commit1a6c971d0030bdd01aacbee3bbb52602f5ab6b4c (patch)
tree0615c264583cc878c9f7b6469a06899cb8c02f3e /time/strftime.c
parent8f3f1e09bf1ac08cc3b0c7978a25c5727799a254 (diff)
downloadglibc-1a6c971d0030bdd01aacbee3bbb52602f5ab6b4c.zip
glibc-1a6c971d0030bdd01aacbee3bbb52602f5ab6b4c.tar.gz
glibc-1a6c971d0030bdd01aacbee3bbb52602f5ab6b4c.tar.bz2
Update.
2000-08-28 Ulrich Drepper <drepper@redhat.com> * time/strftime.c (my_strftime): Handle # flag for %b as well.
Diffstat (limited to 'time/strftime.c')
-rw-r--r--time/strftime.c5
1 files changed, 5 insertions, 0 deletions
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