Code

Opened 22 months ago

Closed 20 months ago

Last modified 20 months ago

#18490 closed Bug (fixed)

Datefield input format options don't match the docs

Reported by: david@… Owned by: dloewenherz
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.

Attachments (0)

Change History (7)

comment:1 Changed 22 months ago by jezdez

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Uncategorized to Bug

comment:2 Changed 22 months ago by david@…

Is a Github pull request sufficient as a patch?

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

comment:3 Changed 22 months ago by aaugustin

  • Has patch set

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

comment:4 Changed 21 months ago by timo

  • 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 20 months ago by dloewenherz

  • Owner changed from nobody to dloewenherz
  • Status changed from new to assigned

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 20 months ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In [fa8fb2b383cc7e73c9e34bca08f29d31ff73128b]:

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

comment:7 Changed 20 months 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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.