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

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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]