Module:Birthday:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
无编辑摘要 |
||
(未显示同一用户的1个中间版本) | |||
第65行: | 第65行: | ||
if currentMonth < birthMonth or (currentMonth == birthMonth and currentDay < birthDay) then | if currentMonth < birthMonth or (currentMonth == birthMonth and currentDay < birthDay) then | ||
age = age - 1 | age = age - 1 | ||
end | end | ||
return string.format("%s (% | return string.format("%s (%d岁)", dateString, age) | ||
else | else | ||
-- 如果月份是英文,且缺失年份或日期 | -- 如果月份是英文,且缺失年份或日期 |