Module:Roman Date: Difference between revisions
no edit summary
(Fix leap year problem) |
No edit summary |
||
Line 114: | Line 114: | ||
return day .. months.accusative[1] .. ' ' .. numeral.main({YearMonthDay[1]+avc}) .. ' AVC' | return day .. months.accusative[1] .. ' ' .. numeral.main({YearMonthDay[1]+avc}) .. ' AVC' | ||
elseif MonthDay[1] == 13 then | elseif MonthDay[1] == 13 then | ||
return day .. months.accusative[3] .. ' ' .. numeral.main({YearMonthDay[1]+avc}) .. ' AVC' | return #dayLookup[24] | ||
-- return day .. months.accusative[3] .. ' ' .. numeral.main({YearMonthDay[1]+avc}) .. ' AVC' | |||
end | end | ||
return day .. months.accusative[MonthDay[1] + 1] .. ' ' .. numeral.main({YearMonthDay[1]+avc}) .. ' AVC' | return day .. months.accusative[MonthDay[1] + 1] .. ' ' .. numeral.main({YearMonthDay[1]+avc}) .. ' AVC' |