summaryrefslogtreecommitdiff
path: root/lib/libc/stdtime
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-10-26 16:07:53 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-10-26 16:07:53 +0000
commitfe91028da9f28162b9557babd1c06f8c097c2322 (patch)
tree820fd563623bf988969e7dbe7298f867b20e0d81 /lib/libc/stdtime
parent0e7f80b16dddae2d2e932cfec85404e09f98bf82 (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 ef1e09d76a9f..ca4dcefbf2b2 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;