Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#18490 closed Bug (fixed)

Datefield input format options don't match the docs

Reported by: david@… Owned by: Dan Loewenherz
Component: Documentation Version: 1.4
Severity: Normal Keywords: date input format
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: yes UI/UX: no

Description

This commit https://github.com/django/django/commit/4e0aa65d16e86cb426c49e33511bf013a47c4fbb removed many of the input formats for the different locales. However the docs still list the complete (for the en locale) set of options.

Change History (7)

comment:1 by Jannis Leidel, 12 years ago

Triage Stage: UnreviewedAccepted
Type: UncategorizedBug

comment:2 by david@…, 12 years ago

Is a Github pull request sufficient as a patch?

https://github.com/django/django/pull/191

comment:3 by Aymeric Augustin, 12 years ago

Has patch: set

Yes, it is, but don't forget to set the "has patch" flag.

comment:4 by Tim Graham, 12 years ago

Patch needs improvement: set

The patch reflects the behavior if settings.USE_L10N = True but the docs are correct if USE_L10N = False

comment:5 by Dan Loewenherz, 12 years ago

Owner: changed from nobody to Dan Loewenherz
Status: newassigned

Updated the patch to specify that additional default formats are available with USE_L10N = False.

https://github.com/django/django/pull/340

comment:6 by Tim Graham <timograham@…>, 12 years ago

Resolution: fixed
Status: assignedclosed

In [fa8fb2b383cc7e73c9e34bca08f29d31ff73128b]:

Fixed #18490 - Updated DateField input formats; thanks dloewenherz for the draft patch.

comment:7 by Tim Graham <timograham@…>, 12 years ago

In [7e8483e70b8180277b6ea99c1315ede7d887ce85]:

[1.4.X] Fixed #18490 - Updated DateField input formats; thanks dloewenherz for the draft patch.

Backport of fa8fb2b383 from master

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