10 Nov 2026
Persian dates from March 2025 are no longer a day ahead
- What was broken
- The library used a formula that picked the wrong Persian leap year, so every date from March 2025 to March 2026 came out one day ahead.
- What I changed
- Year starts now follow the 33-year cycle used by the Persian calendar, with the known break years.
- Why it matters
- Persian dates are right for the current year, and matched another calendar library daily from 1800 to 2255.
see the code, #395 ↗ (opens in a new tab)
← every project