#9850: Outdated documentation - (date format strings)
---------------------------------------------+------------------------------
Reporter: cezz | Owner: timo
Status: assigned | Milestone:
Component: Documentation | Version: SVN
Resolution: | Keywords: now format
strings
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Changes (by kmtracey):
* stage: Ready for checkin => Design decision needed
Comment:
Before checking in a doc change that claims something works, we should
first verify it works. Adding a testcase that attempts to use this
formatting option would seem to be wise. Actually, based on #10318 and
the associated django-users thread: http://groups.google.com/group/django-
users/browse_thread/thread/5a156fbddee22d3b/e255ffea08bd3d4d, it appears
the doc is more right than wrong here -- I can't see how the existing code
is correct.
I don't know whether the right answer is to to fix the code to match the
doc (raise NotImplemented there, as it used to before r992) or fix the
implementation.
Note #10318 has a test, but that test fails on Windows due to
strftime('%s') there returning an empty string rather then a number, so
that test can't be directly used in our test suite.
--
Ticket URL: <http://code.djangoproject.com/ticket/9850#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---