From 5d5fb83f13c398b00ebe7c968495de1fec09dc4d Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 26 Oct 2000 16:07:04 +0000 Subject: Force "%c" to be ctime-compatible Submitted by: ru --- lib/libc/stdtime/strptime.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libc') 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; -- cgit v1.1