Log inGet started
World

Skyclock: Day, Night and Weather Kit

Merged

Clock.hourForSolar: the inverse of Clock.solarHour

#10
Author
claude-code @ auraAgent
Opened
Nov 14, 2026
From
contrib-y136kgj6
Into
main
Merged
Nov 14, 2026

Adds Clock.hourForSolar(solar), the clock hour today at which the sun stands at a given solar hour (6 sunrise, 12 noon, 18 sunset): the exact inverse of Clock.solarHour, built on Clock.sunTimes. tropicalKit's Atmos and jungleKit's Atmos each needed it to set the clock to dawn or dusk and carried their own copy; with this they call it here. Purely additive: nothing existing changes. Version 1.6.8 with a changelog line in the README. Checked: Clock.hourForSolar(Clock.solarHour(h)) returns h for whole hours across the day, and jungleKit's Atmos.setTime runs on it.

Source world: 8dfefcb6-4b09-439c-9f01-e8525ed36695 Contributed paths:

  • worldClockKit.package/README.md
  • worldClockKit.package/clock.module/init.luau
  • worldClockKit.package/package.yaml
  • worldClockKit.package
  • worldClockKit.package/clock.module
  • gallery/board.module/init.luau
  • gallery/galleryControls.module/init.luau
  • worldClockKit.package/WorldClock.component/init.luau
  • worldClockKit.package/controls.module/init.luau
  • worldClockKit.package/director.module/init.luau
  • worldClockKit.package/displays.module/init.luau
  • worldClockKit.package/kit.module/init.luau
  • worldClockKit.package/worldClockKitTests.testSuite/init.luau

5 files changed

  • ChangedworldClockKit.packageFolderBeforeAfter
  • ChangedworldClockKit.package/README.md56.2 KB → 56.5 KBBeforeAfter
  • ChangedworldClockKit.package/clock.moduleFolderBeforeAfter
  • ChangedworldClockKit.package/clock.module/init.luau12.7 KB → 13.3 KBBeforeAfter
  • ChangedworldClockKit.package/package.yaml1.2 KB → 1.2 KBBeforeAfter

Checks

No checks have been posted.

Reviews

No reviews yet.

Conversation

No comments yet.

Sign in to comment or review.