Module:Date Stuff: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 20: Line 20:
   elseif calendar == "Forgotten Realms" then
   elseif calendar == "Forgotten Realms" then
   monthNames = {"Hammer", "Alturiak", "Ches", "Tarsakh", "Mirtul", "Kythorn", "Flamerule", "Eleasis", "Eleint", "Marpenoth", "Uktar", "Nightal"}
   monthNames = {"Hammer", "Alturiak", "Ches", "Tarsakh", "Mirtul", "Kythorn", "Flamerule", "Eleasis", "Eleint", "Marpenoth", "Uktar", "Nightal"}
  elseif calendar == "IRL" then
  monthNames = {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}
   end
   end


   --Takes the provided variable and seperates it out into a table
   --Takes the provided variable and seperates it out into a table
   --Also makrs if it is only a year or a montha nd year
   --Also marks if it is only a year or a month and year
   date = Split(date, "-")
   date = Split(date, "-")
    
    

Navigation menu