#11984: Problem with date_hierarchy in Django 1.1 - Truncated incorrect datetime
value: '0000-01-01 00:00:00'
-------------------------------------------------+--------------------------
          Reporter:  sergey.g.ales...@gmail.com  |         Owner:  sorin
            Status:  assigned                    |     Milestone:       
         Component:  django.contrib.admin        |       Version:  1.1  
        Resolution:                              |      Keywords:       
             Stage:  Unreviewed                  |     Has_patch:  1    
        Needs_docs:  0                           |   Needs_tests:  0    
Needs_better_patch:  0                           |  
-------------------------------------------------+--------------------------
Changes (by sorin):

  * owner:  => sorin
  * status:  new => assigned
  * has_patch:  0 => 1

Comment:

 I attached a patch that does solves these errors. These are happening when
 you have datetime fields on MySQL with value '0000-00-00 00:00:00' and you
 are trying to use date_hierarchy on them.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11984#comment:6>
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 django-upda...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=.


Reply via email to