summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime/strftime.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdtime/strftime.c')
-rw-r--r--lib/libc/stdtime/strftime.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c
index a4cdc86..72f67d4 100644
--- a/lib/libc/stdtime/strftime.c
+++ b/lib/libc/stdtime/strftime.c
@@ -158,20 +158,8 @@ label:
case 'e':
pt = _conv(t->tm_mday, "%2d", pt, ptlim);
continue;
- case 'f':
- if (!Ealternative)
- break;
- pt = _fmt(*(tptr->md_order) == 'd' ?
- "%e %b" : "%b %e",
- t, pt, ptlim);
- continue;
case 'F':
- if (!Ealternative)
- pt = _fmt("%Y-%m-%d", t, pt, ptlim);
- else
- pt = _fmt(*(tptr->md_order) == 'd' ?
- "%e %B" : "%B %e",
- t, pt, ptlim);
+ pt = _fmt("%Y-%m-%d", t, pt, ptlim);
continue;
case 'H':
pt = _conv(t->tm_hour, "%02d", pt, ptlim);
OpenPOWER on IntegriCloud