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

    m>Trappist the monk
    (Synch from sandbox;)
    m>Trappist the monk
    (Synch from sandbox;)
    Line 412: Line 412:
    good_date, anchor_year, COinS_date = check_date (v); -- go test the date
    good_date, anchor_year, COinS_date = check_date (v); -- go test the date
    end
    end
    elseif 'accessdate'==k then -- if the parameter is |date=
    elseif 'access-date'==k then -- if the parameter is |date=
    good_date = check_date (v); -- go test the date
    good_date = check_date (v); -- go test the date
    if true == good_date then -- if the date is a valid date
    if true == good_date then -- if the date is a valid date