Sourceware Bugzilla – Attachment 10742 Details for
Bug 10871
'mon' array should contain both nominative and genitive cases
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Alternative month names NLS data (Polish, v12)
v12-0011-pl_PL-Add-alternative-month-names-bug-10871.patch (text/plain), 2.19 KB, created by
Rafal Luzynski
on 2018-01-13 11:00:54 UTC
(
hide
)
Description:
Alternative month names NLS data (Polish, v12)
Filename:
MIME Type:
Creator:
Rafal Luzynski
Created:
2018-01-13 11:00:54 UTC
Size:
2.19 KB
patch
obsolete
>From 16b0c110a5039bef870521a2af1ddefd30d3dcde Mon Sep 17 00:00:00 2001 >From: Rafal Luzynski <digitalfreak@lingonborough.com> >Date: Tue, 5 Jan 2016 03:03:10 +0100 >Subject: [PATCH v12 11/16] 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. >--- > localedata/locales/pl_PL | 14 +++++++++++++- > time/tst-strptime.c | 3 +-- > 2 files changed, 14 insertions(+), 3 deletions(-) > >diff --git a/localedata/locales/pl_PL b/localedata/locales/pl_PL >index 2a8d09d..632a1b3 100644 >--- a/localedata/locales/pl_PL >+++ b/localedata/locales/pl_PL >@@ -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" >diff --git a/time/tst-strptime.c b/time/tst-strptime.c >index 2eac5a2..49dfbe9 100644 >--- a/time/tst-strptime.c >+++ b/time/tst-strptime.c >@@ -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 }, >-- >2.7.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10871
:
8795
|
8874
|
8875
|
8876
|
8877
|
8878
|
8879
|
8880
|
9122
|
9123
|
9124
|
9125
|
9126
|
9127
|
9569
|
9570
|
9571
|
9572
|
9573
|
9574
|
9575
|
9576
|
9577
|
9578
|
9579
|
9595
|
9596
|
9597
|
9598
|
9599
|
9709
|
9710
|
9711
|
9712
|
9713
|
9714
|
9715
|
9716
|
9717
|
9718
|
9719
|
9720
|
9721
|
9908
|
9909
|
9910
|
9911
|
9912
|
9913
|
9914
|
9915
|
9916
|
9917
|
9918
|
9919
|
10063
|
10064
|
10065
|
10225
|
10226
|
10227
|
10228
|
10229
|
10230
|
10231
|
10425
|
10426
|
10427
|
10428
|
10429
|
10430
|
10592
|
10593
|
10594
|
10595
|
10596
|
10597
|
10598
|
10599
|
10600
|
10601
|
10602
|
10731
|
10732
|
10733
|
10734
|
10735
|
10736
|
10737
|
10738
|
10739
|
10740
|
10741
| 10742