Module:Episode list: Difference between revisions

Content deleted Content added
Match year in content to add it to the unformatted category.
Fix for when date not set
Line 201:
if args[v] == '' then
-- Set to N/A if viewers haven't been available for four weeks, else set it as TBD
if v == 'Viewers' and args.OriginalAirDate and args.OriginalAirDate ~= '' then
local month, day, year = args.OriginalAirDate:gsub(" "," "):match("(%a+) (%d+), (%d+)")
if month == nil then