Opened 12 years ago
Closed 12 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 , 12 years ago
| Has patch: | set |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
comment:2 by , 12 years ago
| Triage Stage: | Unreviewed → Ready for checkin |
|---|
Patch looks fine to me. Tests pass on Python 2.7 and 3.3.
comment:3 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
PR https://github.com/django/django/pull/1520.