Module:DateThings: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 38: Line 38:
Month = DateBits[2]
Month = DateBits[2]
Day = DateBits[3]
Day = DateBits[3]
ThisDate = os.date({ year = Year, month = Month, day = Day })
--OutputText = OutputText .. trim(DateList[i])
--OutputText = OutputText .. trim(DateList[i])
Line 49: Line 51:
end
end
else
else
OutputText = OutputText .. Year .. "-" .. Month .. "-" .. Day --All three are different
--OutputText = OutputText .. Year .. "-" .. Month .. "-" .. Day --All three are different
OutputText = OutputText .. ThisDate
end
end