4,595
edits
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 | if secondDate then | ||
return | return secondDate | ||
elseif firstDate == nil and secondDate == nil then | elseif firstDate == nil and secondDate == nil then | ||
return nil | return nil |