మాడ్యూల్:Citation/CS1/Date validation: కూర్పుల మధ్య తేడాలు

Content deleted Content added
చి en:Module:Citation/CS1/Date_validation నుండి కూర్పును దిగుమతి చేసాం: తెవికీలోకి
prevent date conversion to ymd when source year has CITEREF disambiguator;
పంక్తి 934:
t.d = t.d:gsub ('0(%d)', '%1'); -- strip leading '0' from day if present
elseif 'ymd' == format_param then -- when converting to ymd
if 1582 > (tonumber(t.y) or 0) then -- ymd format dates not allowed before 1582; years in source date with CITEREF disambiguator not converted
return;
end