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

Comment (by jnns):

 What about the use case that I want to display the age of a person given
 his or her birthdate?  I consider this an order of magnitude for human
 consumption but `timesince` will be displaying an incorrect number of
 years.

--
Ticket URL: <https://code.djangoproject.com/ticket/19210#comment:16>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.e35cdf923c9551428623689c7daf27b1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to