Modify ↓
Ticket #75 (closed defect: fixed)
month context
| Reported by: | Andrew Stromnov <stromnov@…> | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | major | Milestone: | 0.9.3 |
| Component: | Date Formatting | Version: | 0.9.1 |
| Keywords: | Cc: |
Description
babel.dates.DateTimeFormat?.format_month():
width = {3: 'abbreviated', 4: 'wide', 5: 'narrow'}[num]
context = {3: 'format', 4: 'format', 5: 'stand-alone'}[num]
I think, that context should depend on format char, not char count:
context = {'M': 'format', 'L': 'stand-alone'}[char]
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Fixed in [381]. See also #67.