#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 , 12 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 12 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
comment:3 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
I've written a patch:
https://github.com/django/django/pull/1651