Comment by pmarreck

3 days ago

I actually had no idea javascript Date was this bad until now.

What’s really sad is that this was obvious in 1995. If they’d taken a slightly longer time back then, millions of developers would have avoided tripping over those unnecessary quirks.

  • to be fair, a lot of lessons about date/time API came way after that year

    • Some, yes, but if you looked at what was common outside of C programs this was antiquated even then. A SQL developer didn’t have to apply offsets and had better primitives for date math.