Thread: Calendar module issues
-
September 11th, 2017, 03:11 #1
- Join Date
- Sep 2014
- Location
- Utah
- Posts
- 8
Calendar module issues
I created a custom calendar using the standard FG calendar mod. But for some reason, each month starts on the same day of the week on my custom calendar. I looked in the .xml and I don't see any difference between the Gregorian calendar code and mine in the file. Is there something else I need to do to get it to work properly?
-
September 11th, 2017, 03:27 #2
- Join Date
- Jun 2013
- Location
- Isanti, MN
- Posts
- 2,922
If your calendar is non-Gregorian, you need to write a LUA extension to provide correct starting days for months (and optional adjustments for leap years if any).
-
October 18th, 2017, 21:15 #3
- Join Date
- Sep 2014
- Location
- Utah
- Posts
- 8
If the starting day for the next month takes place on the next day of the week, do I need to write an LUA extension?
-
October 18th, 2017, 23:57 #4
- Join Date
- Jun 2013
- Location
- Isanti, MN
- Posts
- 2,922
Not if your months are all exact multiples of the week length (ie, each month starts on the same day of the week). Or if you use a Gregorian calendar (those functions are built-in).
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks