diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2011-10-09 06:39:54 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2011-10-09 06:39:54 +0000 |
commit | 50f41f9d81f2edccc4fb75dcb4592d3f15aafa71 (patch) | |
tree | fcbbd847ff4fe2b72a6606976b4a35a17f61a5de /lib/libc/locale | |
parent | ce0715cf51a64171cc80629f40da0609374fe3d5 (diff) |
d_t_fmt: fix the format for the day of the month to use %e (single
digits are preceded by a blank instead of a 0) and not %d (POSIX).
ok jasper@ guenther@
Diffstat (limited to 'lib/libc/locale')
-rw-r--r-- | lib/libc/locale/_def_time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/locale/_def_time.c b/lib/libc/locale/_def_time.c index 92da7be1a49..75179a605f1 100644 --- a/lib/libc/locale/_def_time.c +++ b/lib/libc/locale/_def_time.c @@ -1,4 +1,4 @@ -/* $OpenBSD: _def_time.c,v 1.4 2005/08/08 08:05:35 espie Exp $ */ +/* $OpenBSD: _def_time.c,v 1.5 2011/10/09 06:39:53 ajacoutot Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. @@ -27,7 +27,7 @@ const _TimeLocale _DefaultTimeLocale = { "AM", "PM" }, - "%a %b %d %H:%M:%S %Y", + "%a %b %e %H:%M:%S %Y", "%m/%d/%y", "%H:%M:%S", "%I:%M:%S %p" |