Content deleted Content added
`time' is now (?) in ISO format, somebody can properly integrate this with the rest of the code later |
Curry |
||
Line 229:
for k2, v2 in pairs(v.qualifiers[qualifierID]) do
if v2.snaktype == 'value' then
local function d
return mw.language.new(wiki.langcode):formatDate(f, v2.datavalue.value.time)
end
if date_format == "mdy" then
out[#out + 1] =
elseif date_format == "my" then
out[#out + 1] =
elseif date_format == "y" then
out[#out + 1] =
else
out[#out + 1] =
end
end
|