summaryrefslogtreecommitdiff
path: root/lib/libc/stdtime/timelocal.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1999-11-30 19:24:07 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1999-11-30 19:24:07 +0000
commitc63a4303abebacd23556930e87f4dfe93704faea (patch)
treefc01182c5a92b4503bdb7d9a32d9e63876d24b56 /lib/libc/stdtime/timelocal.c
parenta36840a71a9f803c2d1e5258644bf5dc0f348992 (diff)
Notes
Diffstat (limited to 'lib/libc/stdtime/timelocal.c')
-rw-r--r--lib/libc/stdtime/timelocal.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/lib/libc/stdtime/timelocal.c b/lib/libc/stdtime/timelocal.c
index 369feb7ccd97..a7d91e5a45da 100644
--- a/lib/libc/stdtime/timelocal.c
+++ b/lib/libc/stdtime/timelocal.c
@@ -47,7 +47,7 @@ int _time_using_locale;
#define LCTIME_SIZE_1 \
(offsetof(struct lc_time_T, alt_month[0]) / sizeof(char *))
#define LCTIME_SIZE_2 \
- (offsetof(struct lc_time_T, Ex_fmt) / sizeof(char *))
+ (offsetof(struct lc_time_T, Ef_fmt) / sizeof(char *))
const struct lc_time_T _C_time_locale = {
{
@@ -82,7 +82,7 @@ const struct lc_time_T _C_time_locale = {
** "%a %b %d %H:%M:%S %Y"
** is used by Solaris 2.3.
*/
- "%a %Ex %X %Y",
+ "%a %Ef %X %Y",
/* am */
"AM",
@@ -91,17 +91,22 @@ const struct lc_time_T _C_time_locale = {
"PM",
/* date_fmt */
- "%a %Ex %X %Z %Y",
+ "%a %Ef %X %Z %Y",
{
"January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"
},
- /* Ex_fmt
- ** To determine months / day order
+ /* Ef_fmt
+ ** To determine short months / day order
*/
- "%b %e"
+ "%b %e",
+
+ /* EF_fmt
+ ** To determine long months / day order
+ */
+ "%B %e"
};