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

Content deleted Content added
replace %a+ with [%D%S]- in check_date() because kn script includes Unicode character elements that aren't %a; mw.ustring.match() because kn month names use Unicode characters;
No edit summary
೩೮೭ ನೇ ಸಾಲು:
year2=year;
 
-- elseif mw.ustring.match(date_string, "^[1-9]%d? +[%D%S]- +[1-9]%d%d%d%a?$") then -- day-initial: day month year
elseif mw.ustring.match(date_string, "^[0-9]%d? +[%D%S]- +[1-9]%d%d%d%a?$") then -- day-initial: day month year
day, month, anchor_year, year=mw.ustring.match(date_string, "(%d%d*)%s*([%D%S]-)%s+((%d%d%d%d?)%a?)");
month = get_month_number (month);