#3189: [patch] generic date_based view, allowing week to start on monday
---------------------------------------------+------------------------------
          Reporter:  [EMAIL PROTECTED]   |         Owner:  nobody
            Status:  new                     |     Milestone:        
         Component:  Generic views           |       Version:  SVN   
        Resolution:                          |      Keywords:        
             Stage:  Design decision needed  |     Has_patch:  1     
        Needs_docs:  0                       |   Needs_tests:  0     
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Comment (by jgomo3):

 Replying to [comment:3 Simon G. <[EMAIL PROTECTED]>]:
 > Is it possible to change this from the rather restrictive
 "week_starts_monday" to a generic "week_start_day" option?
 Yes. I did this patch
 ([http://code.djangoproject.com/attachment/ticket/3189/date_based.py.2.diff
 date_based.py.2.diff]) to prove the concept and i let it in my django
 install. The generic option would be firstweekday. Is based on the python
 standar calendar module, wich define tha Calendar class wich by default
 set monday as the first week day, but let you specify one of the seven
 days of the week as the first day (0 is monday and 6 is sunday).

 Note: but, i think people is working on this issue and more here #7980,
 and maybe this ticket should be closed and the diff's should be exported
 to the #7980.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3189#comment:8>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to