Module:Solar eclipse: Difference between revisions

Content deleted Content added
typo
fix
Line 16:
d = (tonumber(d) < 10) and ('0' .. tonumber(d)) or (d)
if(d and d ~= '') then
returnlocal success, result = pcall(lang.formatDate, lang, 'F j, y', y .. '-' .. m .. '-' .. d)
return success and result or nil
else
returnlocal success, result = pcall(lang.formatDate, lang, 'F y', y .. '-' .. m .. '-01')
return success and result or nil
end
end