summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime/timelocal.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-03-18 11:58:15 +0000
committerache <ache@FreeBSD.org>2001-03-18 11:58:15 +0000
commit052769dc2db56f715444b31f2b8f618e412e2e6d (patch)
tree7c811cd4f9c3616708de40718f2c43320c6d1cfc /lib/libc/stdtime/timelocal.h
parent392858ffd3db7f622b30d49ff8b01b841d724ca0 (diff)
downloadFreeBSD-src-052769dc2db56f715444b31f2b8f618e412e2e6d.zip
FreeBSD-src-052769dc2db56f715444b31f2b8f618e412e2e6d.tar.gz
Relax local FreeBSD restrictions on 3 chars abbrev. name length and %c format
since they not allows POSIXly legal locale data. Currently, if relaxed form POSIXly legal locale data will be used right now, some programs will be broken, but it means that either locale data or programs must be fixed, not the library. Introduce non-standard md_order (month/day order) locale field to be used later via nl_langinfo(). Currently %EF and %Ef emulated using this field, but they planned for remove in future in favour of nl_langinfo() test field. Implement %F per POSIX
Diffstat (limited to 'lib/libc/stdtime/timelocal.h')
-rw-r--r--lib/libc/stdtime/timelocal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdtime/timelocal.h b/lib/libc/stdtime/timelocal.h
index 7dbfdcf..843c42b 100644
--- a/lib/libc/stdtime/timelocal.h
+++ b/lib/libc/stdtime/timelocal.h
@@ -45,8 +45,7 @@ struct lc_time_T {
const char * pm;
const char * date_fmt;
const char * alt_month[12];
- const char * Ef_fmt;
- const char * EF_fmt;
+ const char * md_order;
const char * ampm_fmt;
};
OpenPOWER on IntegriCloud