Module:Date Stuff: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 87: Line 87:
   calendar = args[4]
   calendar = args[4]
   --checks if firstDate is not nil, and if it is returns the second date
   --checks if firstDate is not nil, and if it is returns the second date
   if secondDate == nil then
   if secondDate then
   return nil
   return secondDate
   elseif firstDate == nil and secondDate == nil then
   elseif firstDate == nil and secondDate == nil then
   return nil
   return nil