Edgewall Software
Modify

Ticket #75 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

comment:1 Changed 4 years ago by cmlenz

  • Status changed from new to closed
  • Resolution set to fixed
  • Component changed from General to Date Formatting
  • Milestone changed from 1.0 to 0.9.3

Fixed in [381]. See also #67.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.