View source for Module:Today/GA
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
------ IMPERIAL GALACTYAN CALENDAR ------
local CustomCalendar = {}
-- Define month names and days per month
local monthNames = {
"Month 1", "Month 2", "Month 3", "Month 4", "Month 5",
"Month 6", "Month 7", "Month 8", "Month 9", "Month 10"
}
local daysPerMonth = 59
-- Define days in each Gregorian month
local daysInMonth = {
31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
}
-- Function to convert Gregorian date to custom calendar date
function CustomCalendar.convertToCustomCalendar(frame)
local gregorianYear = tonumber(frame.args[1])
local gregorianMonth = tonumber(frame.args[2])
000
1:0
Template used on this page:
Return to Module:Today/GA.