Hacker News new | ask | show | jobs
by netsharc 1479 days ago
In Java and Javascript, months are 0-based, so October is 9. Geez, imagine forcing people to write "October 15, 2019" as "2019-09-15"
2 comments

Yeah, as it already is an imposition to use 10 for what is called "Month Eight" (from Lat.: octo = 8).
Glad to hear I'm not the only one. A switch flipped in my brain once I realized this and now I routinely mix up October and August.

Would it really have been too much to ask that July and August come after December?!

  Q: Why do software engineers confuse Halloween and Christmas?
  A: Because Oct. 31 = Dec. 25
July was renamed away from Quintilis ( the fifth month of the Roman calendar )

So yes, a bit much.

I am one of those guys who use ISO 8601 for everything. It just makes the most sense to me. But I would not force ot onto my users.