#25352: django.views.generic.dates.WeekArchiveView use of _date_from_string
results
on off-by-one weeks handling
-------------------------------+--------------------------------------
Reporter: OdyX | Owner: nobody
Type: Bug | Status: closed
Component: Generic views | Version: 1.8
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by timgraham):
* status: new => closed
* resolution: => needsinfo
Comment:
Is the issue that weeks are 0-indexed? As noted
[https://docs.python.org/3/library/datetime.html in the Python docs], "All
days in a new year preceding the first Sunday are considered to be in week
0."
Please reopen if you can provide more details like a sample project or a
test case for Django's test suite. The current report is a bit abstract
and it's difficult for me to understand what problem you're reporting.
Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/25352#comment:2>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/062.3538bc5468270e0d7dab9777c02e9e18%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.