5E Product Walkthrough Playlist
  1. #1

    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?
    Attached Images Attached Images

  2. #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).

  3. #3
    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?

  4. #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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in