pl_PL: Add alternative month names (bug 10871).

[BZ #10871]
	* localedata/locales/pl_PL: Alternative month names added,
	primary month names are genitive now.
	* time/tst-strptime.c (day_tests): Actually use a genitive case
	of a month name in Polish language.
This commit is contained in:
Rafal Luzynski 2016-01-05 03:03:10 +01:00
parent 22390764f9
commit 2aa8009d21
2 changed files with 14 additions and 3 deletions

View File

@ -175,7 +175,7 @@ abmon "sty";"lut";/
"lip";"sie";/
"wrz";"pa<U017A>";/
"lis";"gru"
mon "stycze<U0144>";/
alt_mon "stycze<U0144>";/
"luty";/
"marzec";/
"kwiecie<U0144>";/
@ -187,6 +187,18 @@ mon "stycze<U0144>";/
"pa<U017A>dziernik";/
"listopad";/
"grudzie<U0144>"
mon "stycznia";/
"lutego";/
"marca";/
"kwietnia";/
"maja";/
"czerwca";/
"lipca";/
"sierpnia";/
"wrze<U015B>nia";/
"pa<U017A>dziernika";/
"listopada";/
"grudnia"
d_t_fmt "%a, %-d %b %Y, %T"
d_fmt "%d.%m.%Y"
t_fmt "%T"

View File

@ -60,8 +60,7 @@ static const struct
/* Some languages do need the declension of the month names. */
{ "pl_PL.UTF-8", "21 lis 2017", "%d %b %Y", 2, 324, 10, 21 },
{ "pl_PL.UTF-8", "22 LIS 2017", "%d %B %Y", 3, 325, 10, 22 },
/* TODO: Use the genitive case here as soon as it is added to localedata. */
{ "pl_PL.UTF-8", "23 listopad 2017", "%d %B %Y", 4, 326, 10, 23 },
{ "pl_PL.UTF-8", "23 listopada 2017", "%d %B %Y", 4, 326, 10, 23 },
/* The nominative case is incorrect here but it is parseable. */
{ "pl_PL.UTF-8", "24 listopad 2017", "%d %OB %Y", 5, 327, 10, 24 },
{ "pl_PL.UTF-8", "25 lis 2017", "%d %Ob %Y", 6, 328, 10, 25 },