From 3e116740c813ab299e53d4f38ad84fa6d9c4944b Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 26 Oct 2000 14:22:41 +0000 Subject: Force %c to be "%a %Ef %T %Y" to eliminate problems with bad c_fmt Submitted by: ru --- lib/libc/stdtime/strftime.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libc/stdtime/strftime.c') diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c index 6404d9c..40e0155 100644 --- a/lib/libc/stdtime/strftime.c +++ b/lib/libc/stdtime/strftime.c @@ -120,7 +120,8 @@ label: "%02d", pt, ptlim); continue; case 'c': - pt = _fmt(Locale->c_fmt, t, pt, ptlim); + /* NOTE: c_fmt is intentionally ignored */ + pt = _fmt("%a %Ef %T %Y", t, pt, ptlim); continue; case 'D': pt = _fmt("%m/%d/%y", t, pt, ptlim); -- cgit v1.1