ಮಾಡ್ಯೂಲ್:Citation/CS1/Date validation/sandbox: ಪರಿಷ್ಕರಣೆಗಳ ನಡುವಿನ ವ್ಯತ್ಯಾಸ

Content deleted Content added
possible tonumber() fix;
possible tonumber() fix;
೪೩ ನೇ ಸಾಲು:
-- access_ts = tonumber (access_ts); -- convert to numbers for the comparison
-- tomorrow_ts = tonumber (tomorrow_ts);
access_ts = lang.:parseFormattedNumber (access_ts); -- convert to numbers for the comparison
tomorrow_ts = lang.:parseFormattedNumber (tomorrow_ts); -- these functions because lang.formatDate() returns a timestamp in kn script that tonumber() doesn't understand
else
return false; -- one or both failed to convert to unix time stamp