Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#21133 closed Uncategorized (fixed)

A note should be added to date template tag regarding formatting strings

Reported by: anonymous Owned by: FunkyBob
Component: Documentation Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

A note should be added to https://docs.djangoproject.com/en/1.5/ref/templates/builtins/#date that states those formatting strings are only for the date template tag and will not work on datetime objects and that strftime http://docs.python.org/2/library/datetime.html#strftime-strptime-behavior formatting strings should be used instead.

Change History (5)

comment:1 by FunkyBob, 11 years ago

Owner: changed from nobody to FunkyBob
Status: newassigned
Triage Stage: UnreviewedAccepted

comment:2 by Markus Holtermann, 11 years ago

Triage Stage: AcceptedReady for checkin

comment:3 by Tim Graham <timograham@…>, 11 years ago

Resolution: fixed
Status: assignedclosed

In 43a2ec7999dcb0c9b09552b9b44741e89f87bc33:

Fixed #21133 --Clarifed documentation about strftime formatting.

comment:4 by Tim Graham <timograham@…>, 11 years ago

In b8e7730f3e25a0bcabca82bf5a2e06411ffcc92e:

[1.5.x] Fixed #21133 -- Clarifed documentation about strftime formatting.

Backport of 43a2ec7999 from master

comment:5 by Tim Graham <timograham@…>, 11 years ago

In e94efee946bb440a4ea9fbe89dcb58972a87e8b3:

[1.6.x] Fixed #21133 -- Clarifed documentation about strftime formatting.

Backport of 43a2ec7999 from master

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