Module:Date Stuff: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 113: Line 113:
   --Determines if age or aged is required
   --Determines if age or aged is required
   if status == "alive" then
   if status == "alive" then
     return writeDate(birthDate).." (age "..age..")"
     return birthDate.." (age "..age..")"
   elseif status == "dead" then
   elseif status == "dead" then
     return writeDate(secondDate).." (aged "..age..")"
     return writeDate(secondDate).." (aged "..age..")"