Jump to content

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

embargo date bug fix;
m>Trappist the monk
(Synch from sandbox;)
m>Trappist the monk
(embargo date bug fix;)
Line 546: Line 546:
local anchor_year; -- will return as nil if the date being tested is not |date=
local anchor_year; -- will return as nil if the date being tested is not |date=
local COinS_date; -- will return as nil if the date being tested is not |date=
local COinS_date; -- will return as nil if the date being tested is not |date=
local embargo_date = '9999'; -- if good dmy, mdy, ymd date then holds original value else 9999
local embargo_date; -- if good dmy, mdy, ymd date then holds original value else 9999
local error_message = "";
local error_message = "";
local good_date = false;
local good_date = false;
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.