Follow

This is how javascript handles dates...

let today = new Date(2020, 4, 28); //2020-05-28

"The month is zero-based for JavaScript. Days and years are one-based."

stackoverflow.com/a/1507625

I'm pissed and amused at the same time

Sign in to participate in the conversation
Mastodon @ SUNET

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!