Opened 22 months ago

Closed 22 months ago

Last modified 22 months 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 Changed 22 months ago by FunkyBob

  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to FunkyBob
  • Patch needs improvement unset
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 22 months ago by MarkusH

  • Triage Stage changed from Accepted to Ready for checkin

comment:3 Changed 22 months ago by Tim Graham <timograham@…>

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

In 43a2ec7999dcb0c9b09552b9b44741e89f87bc33:

Fixed #21133 --Clarifed documentation about strftime formatting.

comment:4 Changed 22 months ago by Tim Graham <timograham@…>

In b8e7730f3e25a0bcabca82bf5a2e06411ffcc92e:

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

Backport of 43a2ec7999 from master

comment:5 Changed 22 months ago by Tim Graham <timograham@…>

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