"ಮಾಡ್ಯೂಲ್:Citation/CS1/Date validation/sandbox" ಆವೃತ್ತಿಗಳ ಮಧ್ಯದ ಬದಲಾವಣೆಗಳು

Jump to navigation Jump to search
possible tonumber() fix;
(copy from en.wiki;)
(possible tonumber() fix;)
if good1 and good2 then
-- 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
೩೫

edits

"https://kn.wikipedia.org/wiki/ವಿಶೇಷ:MobileDiff/808070" ಇಂದ ಪಡೆಯಲ್ಪಟ್ಟಿದೆ

ಸಂಚರಣೆ ಪಟ್ಟಿ