#26217: Docs for WeekArchiveView are misleading about %W -------------------------------+------------------------------------ Reporter: koniiiik | Owner: koniiiik Type: Bug | Status: closed Component: Documentation | Version: 1.9 Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+------------------------------------
Comment (by koniiiik): For the sake of completeness, in case someone stumbles upon this ticket, using `'%V'` as the format string to parse the week number is a dead end, because while `strftime` is a function specified in the C standard, `strptime` is not, which means CPython needs to include its own implementation of `strptime`, and that only implements the set of `strftime` format strings mandated by C89. -- Ticket URL: <https://code.djangoproject.com/ticket/26217#comment:10> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.11636c845f39e868aa6c7be773e82648%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.