Module:Webarchive: திருத்தங்களுக்கு இடையிலான வேறுபாடு
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
Extract date from URL for Library of Congress Web Archives (webarchive.loc.gov/all/YYYYMMMDDhhmmss/), same as with Wayback. Tested first with /sandbox, Module:Webarchive/testcases, and Template:Webarchive/testcases/Production. |
fix cday and fulldate |
||
வரிசை 198:
return year .. "-" .. zmonth .. "-" .. zday -- 2016-09-01
elseif df == "ymd" then
return year .. " " .. nmonth .. " " ..
else
return nmonth .. " " .. day .. ", " .. year -- September 1, 2016
வரிசை 250:
end
local fulldate = makeDate(dt.year, dt.month, dt.day, df)
if not fulldate then
return inlineRed("[Date error] (4)", "error")
| |||