soft_age displays '0 years' for entries 365 days old
soft_age displays '0 years' for entries 365 days old
ID: 2064Owner: Samantha
Date: 2013-01-23 12:26:35Priority: Minor
Product/Component: Cadre Bugs
This may involve leap years.
I'm not actually sure if leap years are involved, but I hard-coded it so that anything less than 2 years is reported as 1 year; the same for months. Since the window in which this actually occurred seems to have been relatively small, and the whole purpose of soft_age is for human legibility and not accuracy, I don't feel bad about this approximateness.