Template talk:Age in years, months, weeks and days

Latest comment: 9 years ago by Waldir in topic Bug

Bug edit

I've noticed a bug with this template:

8/22/2002 to 5/5/2013: 10 years, 8 months, 1 week and 6 days

8/22/2002 to 5/6/2013 (adding one day): 10 years, 8 months and 2 weeks (Says 1 week, should say 2 weeks)

8/22/2002 to 5/7/2013 (adding another day): 10 years, 8 months, 2 weeks and 1 day

Theoldsparkle (talk) 15:44, 4 September 2013 (UTC)Reply

Since I don't understand the template code anymore, I tried to clean it up a little so I could first understand what was going on, and then hopefully trace down where the bug was. Turns out that the cleanup happened to fix the aforementioned bug, so this is now   fixed :) --Waldir talk 20:03, 4 November 2014 (UTC)Reply