mirror of
https://github.com/taigrr/gico.git
synced 2026-04-14 09:10:46 -07:00
The naive year%4==0 check incorrectly treats years like 1900 and 2100 as leap years. Add types.IsLeapYear and types.YearLength helpers using the full Gregorian calendar rule (divisible by 4, except centuries unless divisible by 400). Replace all 8 occurrences across the codebase.