1,639
edits
JoshuaJSlone (talk | contribs) No edit summary |
JoshuaJSlone (talk | contribs) No edit summary |
||
| Line 49: | Line 49: | ||
if Year==OldYear then | if Year==OldYear then | ||
if Month==OldMonth then | if Month==OldMonth then | ||
OutputText = OutputText .. Day --Only the day is different | OutputText = OutputText .. os.date("[[%B ", ThisDate) .. Day .. "|" .. Day .. "]]" --Only the day is different | ||
else | else | ||
OutputText = OutputText .. | OutputText = OutputText .. os.date("[[%B ", ThisDate) .. Day .. "]]" --Day and month are different | ||
end | end | ||
else | else | ||
OutputText = OutputText .. os.date("[[%Y]] [[%B ", ThisDate) .. Day .. "]]" --All three are different | |||
OutputText = OutputText .. os.date("[[%Y]] [[%B ", ThisDate) .. Day .. "]]" | |||
end | end | ||