#19210: django.utils.timesince() does not account for leap years
------------------------------+------------------------------------
     Reporter:  jnns          |                    Owner:  nobody
         Type:  Bug           |                   Status:  new
    Component:  Core (Other)  |                  Version:  master
     Severity:  Normal        |               Resolution:
     Keywords:  date time     |             Triage Stage:  Accepted
    Has patch:  0             |      Needs documentation:  0
  Needs tests:  0             |  Patch needs improvement:  0
Easy pickings:  0             |                    UI/UX:  0
------------------------------+------------------------------------

Comment (by hirokiky):

 Solved with dirty implemantion
 
https://github.com/hirokiky/django/commit/f581659080e78891d043ecbd63e2fc349c786c44

 It seems good to separate the resolusion depending on whether the unit is
 year or not.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19210#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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to