From: Rafal Luzynski <digitalfreak@lingonborough.com>
To: libc-alpha@sourceware.org
Subject: [PATCH v12 6/6] pl_PL: Add alternative month names (bug 10871).
Date: Fri, 12 Jan 2018 08:20:00 -0000 [thread overview]
Message-ID: <321740942.38177.1515745222130@poczta.nazwa.pl> (raw)
In-Reply-To: <1802414843.37687.1515744747279@poczta.nazwa.pl>
[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
next prev parent reply other threads:[~2018-01-12 8:20 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-12 8:12 [PATCH v12 0/6][BZ 10871] Month names in alternative grammatical case Rafal Luzynski
2018-01-12 8:14 ` [PATCH v12 1/6] Implement alternative month names (bug 10871) Rafal Luzynski
2018-01-22 10:36 ` [COMMITTED][PATCH " Rafal Luzynski
2018-01-22 15:51 ` Joseph Myers
2018-01-22 20:15 ` Rafal Luzynski
2018-01-12 8:16 ` [PATCH v12 3/6] Abbreviated alternative month names (%Ob) also added " Rafal Luzynski
2018-01-22 10:38 ` [COMMITTED][PATCH " Rafal Luzynski
2018-01-12 8:18 ` [PATCH v12 5/6] Documentation to the above changes " Rafal Luzynski
2018-01-15 3:42 ` Rical Jasan
2018-01-15 6:28 ` Carlos O'Donell
2018-01-15 8:31 ` Rical Jasan
2018-01-15 11:53 ` Rafal Luzynski
2018-01-15 11:47 ` Rafal Luzynski
2018-01-18 12:04 ` [PING][PATCH " Rafal Luzynski
2018-01-18 13:36 ` Joseph Myers
2018-01-20 8:44 ` Carlos O'Donell
2018-01-22 16:01 ` Joseph Myers
2018-01-20 8:36 ` [PATCH " Rical Jasan
2018-01-20 8:39 ` Carlos O'Donell
2018-01-20 10:50 ` Rafal Luzynski
2018-01-22 8:43 ` Rafal Luzynski
2018-01-23 3:41 ` Rical Jasan
2018-01-23 22:09 ` Rafal Luzynski
2018-01-25 0:45 ` Rafal Luzynski
2018-01-25 1:47 ` Carlos O'Donell
2018-01-31 17:22 ` Rafal Luzynski
2018-01-22 10:40 ` Rafal Luzynski
2018-01-12 8:20 ` Rafal Luzynski [this message]
2018-01-22 10:42 ` [COMMITTED][PATCH v12 6/6] pl_PL: Add alternative month names " Rafal Luzynski
2018-01-13 11:05 ` [PATCH v12 0/6][BZ 10871] Month names in alternative grammatical case Rafal Luzynski
2018-01-14 3:53 ` Carlos O'Donell
2018-01-14 15:03 ` Rafal Luzynski
2018-01-20 8:41 ` Carlos O'Donell
2018-01-20 10:47 ` Rafal Luzynski
2018-01-20 22:46 ` Carlos O'Donell
2018-02-19 10:12 ` Khem Raj
2018-02-22 0:24 ` Rafal Luzynski
2018-02-22 5:25 ` Carlos O'Donell
2018-02-22 5:58 ` Khem Raj
2018-02-22 6:52 ` Carlos O'Donell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=321740942.38177.1515745222130@poczta.nazwa.pl \
--to=digitalfreak@lingonborough.com \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).