diff options
author | 1998-02-14 21:03:48 +0000 | |
---|---|---|
committer | 1998-02-14 21:03:48 +0000 | |
commit | 5ea358afd3122f2bf04cefa734819859a8e39d46 (patch) | |
tree | f5a6f164167bac7cb8dfbe4cd1f2dd97dbe6f65c /lib/libc/time/strftime.c | |
parent | Let's try for english grammar. (diff) | |
download | wireguard-openbsd-5ea358afd3122f2bf04cefa734819859a8e39d46.tar.xz wireguard-openbsd-5ea358afd3122f2bf04cefa734819859a8e39d46.zip |
Changed %c in the builtin C locale from "%D %X" to the more
common "%a %b %d %H:%M:%S %Y". This fixes problems with calendar(1).
Diffstat (limited to 'lib/libc/time/strftime.c')
-rw-r--r-- | lib/libc/time/strftime.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/time/strftime.c b/lib/libc/time/strftime.c index 1480c2f53d0..4648331d2ce 100644 --- a/lib/libc/time/strftime.c +++ b/lib/libc/time/strftime.c @@ -1,6 +1,6 @@ #if defined(LIBC_SCCS) && !defined(lint) && !defined(NOID) static char elsieid[] = "@(#)strftime.c 7.57"; -static char *rcsid = "$OpenBSD: strftime.c,v 1.1 1998/01/19 00:07:43 millert Exp $"; +static char *rcsid = "$OpenBSD: strftime.c,v 1.2 1998/02/14 21:03:48 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include "private.h" @@ -93,11 +93,11 @@ static const struct lc_time_T C_time_locale = { /* ** c_fmt - ** Note that - ** "%a %b %d %H:%M:%S %Y" - ** is used by Solaris 2.3. + ** XXX--Changed by millert from "%D %X" + ** to the more common "%a %b %d %H:%M:%S %Y" + ** used by everyone else. */ - "%D %X", /* %m/%d/%y %H:%M:%S */ + "%a %b %d %H:%M:%S %Y", /* am */ "AM", |