View source for Module:InterviewNavigation
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
local p = {}
local function parse_date(date_string)
local month_name, day, year = date_string:match("(%a+)%s*(%d*),%s*(%d+)")
if not year then
month_name, year = date_string:match("(%a+)%s*(%d+)")
day = nil
end
local month_number = mw.language.getContentLanguage():formatDate("n", month_name .. " 1, " .. year)
return {
year = tonumber(year),
month = tonumber(month_number),
day = tonumber(day)
}
end
local function load_and_sort_interviews()
local content = mw.loadJsonData("JoJo Wiki:Interviews")
local interviews_table = content.interviews
000
1:0
Template used on this page:
Return to Module:InterviewNavigation.