summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime/timelocal.h
diff options
context:
space:
mode:
authordt <dt@FreeBSD.org>1999-09-11 21:35:21 +0000
committerdt <dt@FreeBSD.org>1999-09-11 21:35:21 +0000
commit563a7a9ae192e9ef2ca5ca45263f32cdb350cd74 (patch)
tree3cb7079ddfd2c249ce7d44e9fea5f7864f17f9ad /lib/libc/stdtime/timelocal.h
parent61e17cfe0ebde91fdd82ad1508f6ea5dd721ebd8 (diff)
downloadFreeBSD-src-563a7a9ae192e9ef2ca5ca45263f32cdb350cd74.zip
FreeBSD-src-563a7a9ae192e9ef2ca5ca45263f32cdb350cd74.tar.gz
Implement new format specifier for strftime: %OB, alternative national
representation of the full month name. In the Russian locale, this alternative will be "nominative case", useful when the date designate month as a whole. E.g. month heading in a calendar. I hope it can be useful for some other locales too. Discussed with: wollman, ache
Diffstat (limited to 'lib/libc/stdtime/timelocal.h')
-rw-r--r--lib/libc/stdtime/timelocal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdtime/timelocal.h b/lib/libc/stdtime/timelocal.h
index 314c48c..9a19175 100644
--- a/lib/libc/stdtime/timelocal.h
+++ b/lib/libc/stdtime/timelocal.h
@@ -41,6 +41,7 @@ struct lc_time_T {
const char * am;
const char * pm;
const char * date_fmt;
+ const char * alt_month[12];
};
extern struct lc_time_T _time_localebuf;
OpenPOWER on IntegriCloud