diff options
author | ache <ache@FreeBSD.org> | 2001-03-21 14:52:12 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-03-21 14:52:12 +0000 |
commit | ba306db3cbf0e39fd4f1a2d160aaacca6ff64106 (patch) | |
tree | a80b38357fc5318cacdf3e35064cb2e9a11ce81c /lib/libc/stdtime/strftime.c | |
parent | eecf925bc54c442e8bed9adc3120d037a67ccd20 (diff) | |
download | FreeBSD-src-ba306db3cbf0e39fd4f1a2d160aaacca6ff64106.zip FreeBSD-src-ba306db3cbf0e39fd4f1a2d160aaacca6ff64106.tar.gz |
Get rid of non-standard %E[Ff] formats, userland apps already fixed
Diffstat (limited to 'lib/libc/stdtime/strftime.c')
-rw-r--r-- | lib/libc/stdtime/strftime.c | 14 |
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); |