summaryrefslogtreecommitdiff
path: root/lib/libc/stdtime/strftime.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-03-21 14:52:12 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-03-21 14:52:12 +0000
commit58dae109b503e9315ed56e1ce0f4ec0b2ceb4002 (patch)
treedd847cad306377854382fb4e92721545800ed697 /lib/libc/stdtime/strftime.c
parent77b898c43a35c71c901e090609d1a9b34a7e1d41 (diff)
Notes
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 a4cdc86a51f8..72f67d426d61 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);