Ticket #67 (closed defect: duplicate)
Stand-alone format babel.dates.format_date (pl_PL locale)
| Reported by: | jarek.zgoda@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Date Formatting | Version: | 0.9.1 |
| Keywords: | Cc: |
Description
There's no difference in output of babel.dates.format_date with format MMMM and LLLL when Polish locale is in use.
>>> babel.dates.format_date(format='MMMM') u'wrze\u015bnia' >>> babel.dates.format_date(format='LLLL') u'wrze\u015bnia'
The correct output in second case should be u'wrzesie\u0144'.
The function babel.dates.get_month_names() works correctly and gives different results if called with context='stand-alone' and with context="format". It looks like the problem lies in DateTimeFormat?.format_month.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
