[patch] generic date_based view, allowing week to start on monday
|Reported by:||Owned by:||nobody|
|Cc:||mir@…, nicolaslara@…, jgomo3@…||Triage Stage:||Accepted|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
I found a bit contradictory that the date filter believes weeks start on Monday while generic date_based views believe weeks start on Sunday.
Here is a patch to the date_based generic view to allow an extra argument week_starts_monday=False that, if true, makes the weeks start on monday.
(its pretty straight forward)