glibc/locale
Rafal Luzynski 761a585ce9 Abbreviated alternative month names (%Ob) also added (bug 10871).
All the previous changes also repeated to support abbreviated
alternative month names.  In most languages which have declension and
need nominative/genitive month names the abbreviated forms for both
cases are the same.  An example where they do differ is May in Russian:
this name is too short to be abbreviated so even the abbreviated form
features the declension suffixes.

	[BZ #10871]
	* locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
	names, define them as the same as abbreviated month names explicitly.
	* locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
	* locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
	_NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
	_NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
	_NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
	_NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
	_NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
	_NL_WABALTMON_12): New enum constants.
	* locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
	wab_alt_mon, and ab_alt_mon_defined members.
	(time_output): Output ab_alt_mon and wab_alt_mon members.
	(time_read): Read them, initialize them as copies of abmon and wabmon
	respectively if they are missing, initialize ab_alt_mon_defined.
	* locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
	* locale/programs/locfile-kw.h: Regenerate.
	* locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
	* time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
	and ru_RU.UTF-8.
	* time/strftime_l.c (a_altmonth, aam_len): New macros.
	[!COMPILE_WIDE] (ABALTMON_1): New macro.
	(__strftime_internal): Handle %Ob and %Oh formats.
	* time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
	(__strptime_internal): Handle %Ob and %Oh formats.
	* time/tst-strptime.c (day_tests): Add more tests to parse different
	forms of month names including the new %Ob format specifier.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2018-01-22 11:26:55 +01:00
..
bits Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
programs Abbreviated alternative month names (%Ob) also added (bug 10871). 2018-01-22 11:26:55 +01:00
broken_cur_max.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C_name.c
C-address.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-collate.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-ctype.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-identification.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-measurement.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-messages.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-monetary.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-name.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-numeric.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-paper.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-telephone.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-time.c Abbreviated alternative month names (%Ob) also added (bug 10871). 2018-01-22 11:26:55 +01:00
C-translit.h Regenerate locale/C-translit.h. 2015-12-09 22:24:26 -05:00
C-translit.h.in Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
categories.def Abbreviated alternative month names (%Ob) also added (bug 10871). 2018-01-22 11:26:55 +01:00
coll-lookup.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
coll-lookup.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
duplocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
elem-hash.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
findlocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
freelocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gen-translit.pl Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
global-locale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hashval.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
indigits.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
indigitswc.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
iso-639.def Add new locale yuw_PG [BZ #20952] 2017-10-25 10:49:35 +02:00
iso-3166.def
iso-4217.def localedata: CLDRv29: update LC_MONETARY int_curr_symbol & currency_symbol 2016-04-15 13:42:29 -04:00
langinfo.h Abbreviated alternative month names (%Ob) also added (bug 10871). 2018-01-22 11:26:55 +01:00
lc-address.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-collate.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-ctype.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-identification.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-measurement.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-messages.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-monetary.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-name.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-numeric.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-paper.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-telephone.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-time.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
loadarchive.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
loadlocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
locale.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
localeconv.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
localeinfo.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
localename.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
locarchive.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mb_cur_max.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
newlocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nl_langinfo_l.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nl_langinfo.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
outdigits.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
outdigitswc.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setlocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
strlen-hash.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
SYS_libc.c
tst-C-locale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-duplocale.c
tst-locname.c
uselocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Versions
weight.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
weightwc.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
xlocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00