Module:Main page/Date

-- MODULE "DATE" (CSS CONTROLLER BASED ON DATE) -- --Designed for Pharrell Wiki (http://pharrell.wikia.com) --Imported from Wiki Daft Punk (http://es.daftpunk.wikia.com) local x = {} function x.date(frame) if (os.date('%d') == '24' or os.date('%d') == '25') and os.date('%m') == '12' then return 'xmas' elseif (os.date('%d') == '31' and os.date('%m') == '12') or (os.date('%d') == '01' and os.date('%m') == '01') then return 'newyear' end end return x