Module:Citation/CS1/Date validation/sandbox: Difference between revisions

Content deleted Content added
m CE
continued
Line 1,008:
local result = false;
local new_date;
if is_set (format) then
if format:match('%a+%-all') then -- manual df keyword; auto df keyword when length not specified in {{use xxx dates}};
format = format:match('(%a+)%-all'); -- extract the format
Line 1,021:
end
end -- else only publication dates and they are long
end -- if is_set(DF)
 
for param_name, param_val in pairs (date_parameters_list) do -- for each date-holding parameter in the list