summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdtime/strptime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdtime/strptime.c b/lib/libc/stdtime/strptime.c
index ef1e09d..ca4dcef 100644
--- a/lib/libc/stdtime/strptime.c
+++ b/lib/libc/stdtime/strptime.c
@@ -143,7 +143,8 @@ label:
break;
case 'c':
- buf = _strptime(buf, Locale->c_fmt, tm);
+ /* NOTE: c_fmt is intentionally ignored */
+ buf = _strptime(buf, "%a %Ef %T %Y", tm);
if (buf == 0)
return 0;
break;
OpenPOWER on IntegriCloud