Editing Module:Age
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 10: | Line 10: | ||
['mt-conflicting-show'] = 'Parameter show=$1 conflicts with round=$2', | ['mt-conflicting-show'] = 'Parameter show=$1 conflicts with round=$2', | ||
['mt-date-wrong-order'] = 'The second date must be later in time than the first date', | ['mt-date-wrong-order'] = 'The second date must be later in time than the first date', | ||
['mt-dd-wrong-order'] = 'Death date (first date) must be later in time than the birth date (second date)', | ['mt-dd-wrong-order'] = 'Death date (first date) must be later in time than the birth date (second date)', | ||
['mt-invalid-bd-age'] = 'Invalid birth date for calculating age', | ['mt-invalid-bd-age'] = 'Invalid birth date for calculating age', | ||
Line 953: | Line 952: | ||
if diff.isnegative then | if diff.isnegative then | ||
return message('mt-dd-wrong-order') | return message('mt-dd-wrong-order') | ||
end | end | ||
local years | local years |