148
submitted 2 weeks ago by tfm@europe.pub to c/programmerhumor@lemmy.ml

cross-posted from: https://programming.dev/post/33754840

new Date("wtf")

you are viewing a single comment's thread
view the rest of the comments
[-] Ephera@lemmy.ml 7 points 2 weeks ago

Hmm, I can believe that it was based on java.util.Date, but I don't remember that being as unpredictable. I guess, a different API to begin with, would have avoided a lot of problems, though...

this post was submitted on 12 Jul 2025
148 points (99.3% liked)

Programmer Humor

37475 readers
126 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS