- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Wow, thanks Alexis! In that thread, it looks like the JS's date was directly ported from Java 1.0, which led to this question: Why is January month 0 in Java Calendar? - Stack Overflow
The first answers mentions that's it's simply a mess, but the second answer provides some pretty solid logic in that it's a lot easier to calculate month differences using the % operator.
In other words, the blame can't solely be pinned on Adobe - you've also got the people who decided to port the Java 1.0 calendar utility to JavaScript, and the people who decided to implement the Java calendar in the first place. This all happened in the mid-90's to boot.