From 5296d2662b8bfff1266b1f9703f48e58a0c8530a Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 19 Mar 2001 11:55:12 +0000 Subject: Implement D_MD_ORDER (local extension) to get month/day order from locale --- lib/libc/locale/nl_langinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/libc/locale/nl_langinfo.c b/lib/libc/locale/nl_langinfo.c index 8ada0f8..ae1512b 100644 --- a/lib/libc/locale/nl_langinfo.c +++ b/lib/libc/locale/nl_langinfo.c @@ -159,6 +159,9 @@ nl_langinfo(nl_item item) { } } break; + case D_MD_ORDER: /* local extension */ + ret = (char *) __get_current_time_locale()->md_order; + break; default: ret = ""; } -- cgit v1.1