Bug 809 - Full month names in languages with declension are not usful for creation of dates
Summary: Full month names in languages with declension are not usful for creation of d...
Status: RESOLVED DUPLICATE of bug 10871
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: unspecified
: P3 enhancement
Target Milestone: ---
Assignee: GOTO Masanori
Depends on:
Reported: 2005-03-30 02:38 IST by Jan Górski
Modified: 2018-04-19 14:57 IST (History)
3 users (show)

See Also:
Last reconfirmed:
fweimer: security-


Note You need to log in before you can comment on or make changes to this bug.
Description Jan Górski 2005-03-30 02:38:50 IST
In Polish full date for today would be written

        30 dzieñ marca roku 2005 (30 day of march of year 2005)

which is usually shortend to

        30 marca 2005

but we also write

        teraz jest marzec (it is march now).

Marzec is nominative of march, and marca is genitive. These to cases are used most
often. Similar situation is in Czech, Ukrainian, Russian and probably many more

In strftime() %B returns nominative of month in pl_PL, although genitive is much
more useful. Adding %EB will solve problem for langugages in which only to cases
of month are practically used. But there may be languages in which more forms 
are needed, so maybe something like %nB, where n is a number, would be better.
There also may be need for more forms of weekday names in some languages e.g.

Dzisiaj jest ¶roda, 30 marca 2005 (Today is wednesday, 30 march 2005)
Co¶ siê sta³o w ¶rodê, 30 marca 2005 (Something happend on wednesday, 30 march 2005)

but I think %EA will not have common use.

Slimak (na krawêdzi)
Comment 1 Ulrich Drepper 2005-09-22 20:22:09 IST
Using %EB is definitely not a solution since it has a completely different meaning.

If all this is so unbearable for you then work with the ISO C committee.  This
is nothing which will be handled here.
Comment 2 Jan Górski 2005-09-22 22:18:55 IST
Well, standard draft from 5th may 2005 mentions only %E[cCxXyY], so %EB does not
have any meaning there and would be only nice extension. But don't be afraid ---
I am not going to force you to do it ;).

Slimak (na krawêdzi)(In reply to comment #1)
Comment 3 Florian Weimer 2018-04-19 14:57:41 IST

*** This bug has been marked as a duplicate of bug 10871 ***