Content deleted Content added
the value for date_format is lower case; the internationalisation produces the format string used by the formatDate function |
|||
Line 341:
if v.mainsnak.snaktype == 'value' then
local timestamp = v.mainsnak.datavalue.value.time
if v.mainsnak.datavalue.value.precision == 9 then
-- we only have the year, so override any supplied date format with "y"
date_format = "y"
end
out[#out + 1] = parseDateValue(timestamp, date_format, date_addon)
end
|