aboutsummaryrefslogtreecommitdiff
path: root/time/strftime.c
diff options
context:
space:
mode:
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 c8334d95fb..abda62b4a4 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