#31711: WeekArchiveView seens to be zero based for week, instead of one based
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
RichardZimmerEschborn |
Type: Uncategorized | Status: closed
Component: Generic views | Version: 2.2
Severity: Normal | Resolution: invalid
Keywords: ArchiveView, Week, | Triage Stage:
bug | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by RichardZimmerEschborn):
I DO understand, that the behavior is documented like it is.
BUT STILL: IT IS WRONG BEHAVIOR!
If a webpage produces and uses a link like:
https://www.mysite.com/archive/2020/january, then the user and the search
engine expect to find there the archive from january 2020
https://www.mysite.com/archive/year/2020/month/01, then the user and the
search engine also expect to find the archive from january 2020
If the same site produces a link like:
https://www.mysite.com/archive/2020/week/20, then the user and the search
engine expect to find there information from week 20.
But with this link Django will produce information for week 21 in this
case. The link asking for the archive of week 20 returns the information
of week 21!
THIS IS WRONG BEHAVIOR. It does not matter what the documentation says
about it!
IT IS WRONG BEHAVIOR! SEO friendly means that the system produces, what is
expected and not that it produces what a documentation (which is in the
best case only read by programmers) says.
The URL to call the webpage does NOT generate the information which it
suggests.
Maybe this should be a feature change, because it behaves like it is
documentet, but the documented behavior is not what what users and search
engines expect.
--
Ticket URL: <https://code.djangoproject.com/ticket/31711#comment:4>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/079.b3ea7b6a5f10d652c8d967bdb127707e%40djangoproject.com.