"मोड्युल:Unsigned" का संशोधनहरू बिचको अन्तर

Content deleted Content added
Fix
Empty strings
पङ्क्ति १२:
 
function addUtcToStringIfItDoesNotEndWithUtc(s)
if s == "" then return s end
if not endswith(s, "(UTC)") then
return trim(s) .. " (UTC)"
end
return s
Line २० ⟶ २१:
function p.main(frame)
local hopefullyTimestamp = frame.args[1] or os.date('%H:%M, %d %B %Y (%Z)')
return addUtcToStringIfItDoesNotEndWithUtc(trim(hopefullyTimestamp))
end
 
"https://ne.wikipedia.org/wiki/मोड्युल:Unsigned" बाट अनुप्रेषित