diff --git a/lib/libc/stdtime/strptime.c b/lib/libc/stdtime/strptime.c index ef1e09d76a9f..ca4dcefbf2b2 100644 --- a/lib/libc/stdtime/strptime.c +++ b/lib/libc/stdtime/strptime.c @@ -143,7 +143,8 @@ _strptime(const char *buf, const char *fmt, struct tm *tm) 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;