Module:Solar eclipse: Difference between revisions

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