Module:Wikidata: Difference between revisions

Content deleted Content added
fix for Wikidata only having the year available
specify "Y" as year format
Line 343:
if v.mainsnak.datavalue.value.precision == 9 then
-- we only have the year, so override any supplied date format with "Y"
date_format = i18n["datetimeY"][9]
end
out[#out + 1] = parseDateValue(timestamp, date_format, date_addon)