All notable changes to @olsystem/lt-lh are documented here.
- Seasonal table support —
getLightHour()andgetLightTimeTable()now auto-select the correct season table based on the current date. - Two named season tables:
LIGHT_TIME_MAP_Q22(Q2.2: Mar 20 – Apr 22) andLIGHT_TIME_MAP_Q23(Q2.3: Apr 23 – ~May 4). - New public API:
getActiveQuarter(date?),getTimeData(date?),QuarterKeytype. - Date-aware overloads:
getLightHour(hourIndex?, date?)andgetLightTimeTable(date?).
- 13LH season active — 6:00 PM is now
13LH(not1dh) during Q2.2 and Q2.3. Dark hours reduce to 11dh; midnight shifts to6dhin Q2.3. - Corrected Proper Day epoch —
getLightDay()now counts from Dec 23, 2025 (aligns witholsme.com). Apr 26, 2026 = 125LD. Previously used Dec 22, 2024 which returned 491LD.
LIGHT_TIME_MAPstill exported — returns the current season's table.- All existing
getLightHour(hourIndex)andgetLightTimeTable()call sites continue to work without changes.
- Cleaner large toggles (only numbers —
6LH/103LD) - Elegant modals: click LD → glowing calendar orb, click LH → solar day arc diagram
- Draggable toggles + bottom Settings drawer
- Font size control + TypeScript snippet generator inside Settings
- Enhanced About section with circadian rhythm explanation and roadmap
- All widgets converted to TypeScript with proper types and option interfaces