unsoluble / smalltime

A small FoundryVTT module for displaying and controlling the current time of day.
MIT License
23 stars 15 forks source link

[Request] Have Small Time sync with Simple Calendar's clock #200

Open fluxxdog opened 3 months ago

fluxxdog commented 3 months ago

This started as a bug report, but some reading showed that "It's known" so... Request!

When using non-24 hour days in Simple Calendar, such as a 20-hour day, discrepancies occur between Simple Calendar and Small Time. As days cycle, the 4-hour discrepancy gets exaggerated more until it "syncs" due to overlapping. This also causes the sunrise/sunset effects to happen off schedule i.e. if the sun is supposed to rise at 0600, Small Time does lighten the scene but only when it says 0600, regardless of Simple Calendar's time.

It does show the correct date despite the incorrect time.

Tested with Self, Third-Party, and Mixed integrations.

unsoluble commented 3 months ago

While I'm definitely not going to add support for non-24hr-days in SmallTime directly, I'm considering making a change in an upcoming rewrite that will make all SimpleCalendar-enabled worlds pull all their time/date directly from SC and stop trying to just stay in sync.