మాడ్యూల్:Effective protection expiry: కూర్పుల మధ్య తేడాలు
Content deleted Content added
Arjunaraoc (చర్చ | రచనలు) చి en:Module:Effective_protection_expiry నుండి ఒక కూర్పు |
return a yyyy-mm-ddThh:mm:ss timestamp, rather than just yyyy-mm-dd |
||
పంక్తి 24:
return 'unknown'
else
local year,
'^(%d%d%d%d)(%d%d)(%d%d)(%d%d)(%d%d)(%d%d)$'
)
if year then
return string.format(
'%s-%s-%sT%s:%s:%s',
year, month, day, hour, minute, second
)
else
error('internal error in Module:Effective protection expiry; malformed expiry timestamp')
end
end
end
|