Excel's Historical Bug: Why 1900 is Incorrectly Treated as a Leap Year
By
susam
Solid neighbourhood-bakery energy. Trustworthy and warm.
Summary
Microsoft Excel incorrectly treats the year 1900 as a leap year due to a historical compatibility decision. This bug originated from Lotus 1-2-3's assumption that 1900 was a leap year, which Microsoft maintained in Excel for backward compatibility. The article explains why this behavior exists and outlines potential issues if the bug were to be corrected, noting that it causes minimal harm to most date calculations.
Key quotes
· 4 pulledMicrosoft Excel incorrectly assumes that the year 1900 is a leap year.
When Lotus 1-2-3 was first released, the program assumed that the year 1900 was a leap year, even though it actually was not a leap year.
This made it easier for the program to handle leap years and caused no harm to almost all date calculations in Lotus 1-2-3.
When Microsoft Multiplan and Microsoft Excel were released, they also assumed that 1900 was a leap year.
You might also wanna read
Critical Bug in Claude AI: Misattribution of Self-Generated Messages to Users
The article discusses a critical bug in Claude (an AI assistant) where it sometimes sends messages to itself and then incorrectly attributes
Critical macOS TCP Networking Bug Causes System Crashes After 49 Days of Uptime
Researchers discovered a critical bug in macOS TCP networking that causes system instability after exactly 49 days of uptime. The issue stem
photon.codes·1mo agomacOS 26.3.1 Update Breaks /etc/resolver/ DNS Configuration for Custom TLDs
A detailed bug report documenting a regression in macOS 26.3.1 where the /etc/resolver/ mechanism for custom TLD DNS resolution has stopped
Bug Report: Claude Code 2.1.1 Exhibits Excessive Token Usage - 4x Faster Consumption Rate
A user reports a bug in Claude Code 2.1.1 where token usage is consuming at 4x+ faster rates than previous versions, causing them to hit usa
TimeCapsule LLM: A Language Model Trained on Historical Data to Reduce Modern Bias
TimeCapsule LLM is a specialized language model trained exclusively on historical data from specific time periods to reduce modern bias and
Bug Report: Claude Code Version 2.1.0 Fails to Start on macOS
A user reports a bug in Claude Code version 2.1.0 where the software fails to start after updating to this version. The bug report follows a
