New format character to represent locale-specifc alternative month names
|Reported by:||shell_dweller||Owned by:||nobody|
|Cc:||s.kuzmenko@…, claude@…||Triage Stage:||Unreviewed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Why this is required
In certain locales "F" is not enough to represent full month name in long date formats. The reason is that "F Y" (e.g., "October 2010") and "F j Y" (e.g., "October 1 2010") will require two different grammatical forms for month name.
This patch is useful for Greek and the majority of Slavic languages. Other languages may find use of it too.
New format character is introduced to represent alternative locale specific month names. The choice of character is "E". Rationale: alphabetically it is the closest one to "F" that represents full month name.
After this patch is committed to trunk I will create a patch for documentation and will notify translators.
This is a duplicate of ticket 12309 that was created and subsequently closed by me. At the time I reckoned that it would be better to use Babel for locale specific date representations. However, after careful consideration I changed my mind and I do believe this is a useful addition to Django because it follows batteries included principle, specially in view of new format localization rules introduced in 1.2