Module:Date Stuff: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
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 firstDate ~= nil then
  return nil
  elseif firstDate ~= nil then
     firstDate = convertShortDate(firstDate, calendar)
     firstDate = convertShortDate(firstDate, calendar)
     secondDate = convertShortDate(secondDate, calendar)
     secondDate = convertShortDate(secondDate, calendar)

Navigation menu