Wanted to do some semantic date validation with #javascript "real quick".
And god damn, the Date class is a complete clusterfuck.
First of all Date is actually a datetime. MDN even gives
`const today = new Date();` as example, but that actually contains the current time, so that's useless if you want to make clean comparisons between dates.
So if you want to do clean comparisons using `<input type='date'>` you'll have to do some dumb shit a la `new Date(input.value + ' 00:00')`…
@WomanCorn @phryk this is exactly like Java's Date API, but I don't know if JavaScript copied it. I thought maybe they both copied some awful C/C++ API