This project is archived and is in readonly mode.

#6074 open

distance_of_time_in_words calculates wrong no of years

Reported by Hexagon | November 27th, 2010 @ 11:01 AM | in 3.0.6

remainder = ((distance_in_minutes - minute_offset_for_leap_year) % 525600)

minute_offset_for_leap_year should be added to distance_in_minutes, not subtracted. This causes distance_of_time_in_words to return a full year too much in certain conditions.


Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>