[Django] #20986: SelectDateWidget doesn't let you customize the displayed months.

21 views
Skip to first unread message

Django

unread,
Aug 28, 2013, 2:20:40 AM8/28/13
to django-...@googlegroups.com
#20986: SelectDateWidget doesn't let you customize the displayed months.
-----------------------------+--------------------
Reporter: loic84 | Owner: nobody
Type: New feature | Status: new
Component: Forms | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------
Django ships with a number of display format for months in
`django.utils.dates.py`, but `MONTHS` is hardcoded in
`SelectDateWidget.render()`.

--
Ticket URL: <https://code.djangoproject.com/ticket/20986>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 28, 2013, 2:26:14 AM8/28/13
to django-...@googlegroups.com
#20986: SelectDateWidget doesn't let you customize the displayed months.
-----------------------------+--------------------------------------
Reporter: loic84 | Owner: loic84
Type: New feature | Status: assigned
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Changes (by loic84):

* status: new => assigned
* needs_better_patch: => 0
* needs_tests: => 0
* owner: nobody => loic84
* needs_docs: => 0
* has_patch: 0 => 1


Comment:

PR https://github.com/django/django/pull/1520.

--
Ticket URL: <https://code.djangoproject.com/ticket/20986#comment:1>

Django

unread,
Aug 28, 2013, 8:37:35 AM8/28/13
to django-...@googlegroups.com
#20986: SelectDateWidget doesn't let you customize the displayed months.
-----------------------------+---------------------------------------------

Reporter: loic84 | Owner: loic84
Type: New feature | Status: assigned
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-----------------------------+---------------------------------------------
Changes (by MarkusH):

* stage: Unreviewed => Ready for checkin


Comment:

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

--
Ticket URL: <https://code.djangoproject.com/ticket/20986#comment:2>

Django

unread,
Aug 28, 2013, 9:36:58 AM8/28/13
to django-...@googlegroups.com
#20986: SelectDateWidget doesn't let you customize the displayed months.
-----------------------------+---------------------------------------------
Reporter: loic84 | Owner: loic84
Type: New feature | Status: closed
Component: Forms | Version: master
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-----------------------------+---------------------------------------------
Changes (by Anssi Kääriäinen <akaariai@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"da800be6ddfdd4c88b48011ef264ea1ec6365725"]:
{{{
#!CommitTicketReference repository=""
revision="da800be6ddfdd4c88b48011ef264ea1ec6365725"
Fixed #20986 -- Enabled SelectDateWidget to use custom months

Reviewed by Trac alias MarkusH.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/20986#comment:3>

Reply all
Reply to author
Forward
0 new messages