summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime/strptime.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdtime/strptime.c')
-rw-r--r--lib/libc/stdtime/strptime.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/lib/libc/stdtime/strptime.c b/lib/libc/stdtime/strptime.c
index b39176d..09f8e18 100644
--- a/lib/libc/stdtime/strptime.c
+++ b/lib/libc/stdtime/strptime.c
@@ -165,22 +165,7 @@ label:
goto label;
case 'F':
- if (!Ealternative)
- buf = _strptime(buf, "%Y-%m-%d", tm);
- else
- buf = _strptime(buf,
- *(tptr->md_order) == 'd' ?
- "%e %B" : "%B %e", tm);
- if (buf == 0)
- return 0;
- break;
-
- case 'f':
- if (!Ealternative)
- break;
- buf = _strptime(buf,
- *(tptr->md_order) == 'd' ? "%e %b" : "%b %e",
- tm);
+ buf = _strptime(buf, "%Y-%m-%d", tm);
if (buf == 0)
return 0;
break;
OpenPOWER on IntegriCloud