diff options
author | dt <dt@FreeBSD.org> | 1999-09-11 21:35:21 +0000 |
---|---|---|
committer | dt <dt@FreeBSD.org> | 1999-09-11 21:35:21 +0000 |
commit | 563a7a9ae192e9ef2ca5ca45263f32cdb350cd74 (patch) | |
tree | 3cb7079ddfd2c249ce7d44e9fea5f7864f17f9ad /lib/libc/stdtime/timelocal.h | |
parent | 61e17cfe0ebde91fdd82ad1508f6ea5dd721ebd8 (diff) | |
download | FreeBSD-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.h | 1 |
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; |