[Django] #21133: A note should be added to date template tag regarding formatting strings

1 view
Skip to first unread message

Django

unread,
Sep 20, 2013, 10:47:50 PM9/20/13
to django-...@googlegroups.com
#21133: A note should be added to date template tag regarding formatting strings
-------------------------------+--------------------
Reporter: anonymous | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.5
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------
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.

--
Ticket URL: <https://code.djangoproject.com/ticket/21133>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 20, 2013, 11:57:39 PM9/20/13
to django-...@googlegroups.com
#21133: A note should be added to date template tag regarding formatting strings
-------------------------------+------------------------------------
Reporter: anonymous | Owner: FunkyBob
Type: Uncategorized | Status: assigned
Component: Documentation | Version: 1.5
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by FunkyBob):

* status: new => assigned
* needs_better_patch: => 0
* needs_tests: => 0
* owner: nobody => FunkyBob
* needs_docs: => 0
* stage: Unreviewed => Accepted


Comment:

I've written a patch:

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

--
Ticket URL: <https://code.djangoproject.com/ticket/21133#comment:1>

Django

unread,
Sep 21, 2013, 4:16:44 AM9/21/13
to django-...@googlegroups.com
#21133: A note should be added to date template tag regarding formatting strings
-------------------------------------+-------------------------------------

Reporter: anonymous | Owner: FunkyBob
Type: Uncategorized | Status: assigned
Component: Documentation | Version: 1.5
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
Has patch: 0 | checkin
Needs tests: 0 | Needs documentation: 0
Easy pickings: 1 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by MarkusH):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/21133#comment:2>

Django

unread,
Sep 21, 2013, 6:43:16 AM9/21/13
to django-...@googlegroups.com
#21133: A note should be added to date template tag regarding formatting strings
-------------------------------------+-------------------------------------
Reporter: anonymous | Owner: FunkyBob
Type: Uncategorized | Status: closed
Component: Documentation | Version: 1.5
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
Has patch: 0 | checkin
Needs tests: 0 | Needs documentation: 0
Easy pickings: 1 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"43a2ec7999dcb0c9b09552b9b44741e89f87bc33"]:
{{{
#!CommitTicketReference repository=""
revision="43a2ec7999dcb0c9b09552b9b44741e89f87bc33"
Fixed #21133 --Clarifed documentation about strftime formatting.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/21133#comment:3>

Django

unread,
Sep 21, 2013, 6:56:30 AM9/21/13
to django-...@googlegroups.com
#21133: A note should be added to date template tag regarding formatting strings
-------------------------------------+-------------------------------------
Reporter: anonymous | Owner: FunkyBob
Type: Uncategorized | Status: closed
Component: Documentation | Version: 1.5

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
Has patch: 0 | checkin
Needs tests: 0 | Needs documentation: 0
Easy pickings: 1 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"e94efee946bb440a4ea9fbe89dcb58972a87e8b3"]:
{{{
#!CommitTicketReference repository=""
revision="e94efee946bb440a4ea9fbe89dcb58972a87e8b3"
[1.6.x] Fixed #21133 -- Clarifed documentation about strftime formatting.

Backport of 43a2ec7999 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/21133#comment:5>

Django

unread,
Sep 21, 2013, 6:56:30 AM9/21/13
to django-...@googlegroups.com
#21133: A note should be added to date template tag regarding formatting strings
-------------------------------------+-------------------------------------
Reporter: anonymous | Owner: FunkyBob
Type: Uncategorized | Status: closed
Component: Documentation | Version: 1.5

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
Has patch: 0 | checkin
Needs tests: 0 | Needs documentation: 0
Easy pickings: 1 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"b8e7730f3e25a0bcabca82bf5a2e06411ffcc92e"]:
{{{
#!CommitTicketReference repository=""
revision="b8e7730f3e25a0bcabca82bf5a2e06411ffcc92e"
[1.5.x] Fixed #21133 -- Clarifed documentation about strftime formatting.

Backport of 43a2ec7999 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/21133#comment:4>

Reply all
Reply to author
Forward
0 new messages