summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-03-21 14:12:37 +0000
committerache <ache@FreeBSD.org>2001-03-21 14:12:37 +0000
commit0a943ba92b8f759e2a8b70bde936bb1e2605eb75 (patch)
treeb42bbf5cb30531bfb22974722e9b8d61762ed391 /lib/libc/stdtime
parentc5f8fef9c1932b78349a5c7878ffd11c397bd6ad (diff)
downloadFreeBSD-src-0a943ba92b8f759e2a8b70bde936bb1e2605eb75.zip
FreeBSD-src-0a943ba92b8f759e2a8b70bde936bb1e2605eb75.tar.gz
Oops, back out prev. change - POSIX require %y in d_fmt
Cosmetique - use exact POSIX string for %c
Diffstat (limited to 'lib/libc/stdtime')
-rw-r--r--lib/libc/stdtime/timelocal.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdtime/timelocal.c b/lib/libc/stdtime/timelocal.c
index 551ea53..d519b1b 100644
--- a/lib/libc/stdtime/timelocal.c
+++ b/lib/libc/stdtime/timelocal.c
@@ -63,12 +63,12 @@ static const struct lc_time_T _C_time_locale = {
** Using just numbers (as here) makes Quakers happier;
** it's also compatible with SVR4.
*/
- "%m/%d/%Y",
+ "%m/%d/%y",
/*
- ** c_fmt (ctime-compatible)
+ ** c_fmt
*/
- "%a %b %e %T %Y",
+ "%a %b %e %H:%M:%S %Y",
/* am */
"AM",
@@ -77,7 +77,7 @@ static const struct lc_time_T _C_time_locale = {
"PM",
/* date_fmt */
- "%a %b %e %X %Z %Y",
+ "%a %b %e %H:%M:%S %Z %Y",
/* alt_month
** Standalone months forms for %OB
OpenPOWER on IntegriCloud