aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdtime
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-10-26 16:07:04 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-10-26 16:07:04 +0000
commitc87774570033737d3ccb782daea6638904c956a3 (patch)
tree4c4eb980863da127c7ca729891f81e95dad23e10 /lib/libc/stdtime
parent21079021dad2694080254a88797c05089a0f3064 (diff)
Notes
Diffstat (limited to 'lib/libc/stdtime')
-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 ef1e09d76a9f4..ca4dcefbf2b28 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;