Opened 4 years ago

Closed 4 years ago

Last modified 4 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 Changed 4 years ago by Jannis Leidel

Triage Stage: UnreviewedAccepted
Type: UncategorizedBug

comment:2 Changed 4 years ago by david@…

Is a Github pull request sufficient as a patch?

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

comment:3 Changed 4 years ago by Aymeric Augustin

Has patch: set

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

comment:4 Changed 4 years ago by Tim Graham

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 Changed 4 years ago by Dan Loewenherz

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 Changed 4 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: assignedclosed

In [fa8fb2b383cc7e73c9e34bca08f29d31ff73128b]:

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

comment:7 Changed 4 years ago by Tim Graham <timograham@…>

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