Opened 11 years ago

Closed 11 years ago

#20986 closed New feature (fixed)

SelectDateWidget doesn't let you customize the displayed months.

Reported by: loic84 Owned by: loic84
Component: Forms Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Django ships with a number of display format for months in django.utils.dates.py, but MONTHS is hardcoded in SelectDateWidget.render().

Change History (3)

comment:1 by loic84, 11 years ago

Has patch: set
Owner: changed from nobody to loic84
Status: newassigned

comment:2 by Markus Holtermann, 11 years ago

Triage Stage: UnreviewedReady for checkin

Patch looks fine to me. Tests pass on Python 2.7 and 3.3.

comment:3 by Anssi Kääriäinen <akaariai@…>, 11 years ago

Resolution: fixed
Status: assignedclosed

In da800be6ddfdd4c88b48011ef264ea1ec6365725:

Fixed #20986 -- Enabled SelectDateWidget to use custom months

Reviewed by Trac alias MarkusH.

Note: See TracTickets for help on using tickets.
Back to Top