▲ 243 ▼ new Date("wtf") (jsdate.wtf) submitted 1 year ago by Sheldan@programming.dev to c/programming@programming.dev 51 comments fedilink hide all child comments
[–] brb@sh.itjust.works 29 points 1 year ago (1 child) Except for some reason "2" is interpreted as a month, and the year is set to 2001. Aight I'm out permalink fedilink source hideshow 2 child comments replies: [–] humanspiral@lemmy.ca 8 points 1 year ago "12.1" is interpreted as the date December 1st, and as before for dates with no year the default is 2001 because of course. it gets better and more coherent the deeper you go :P permalink fedilink source parent
[–] humanspiral@lemmy.ca 8 points 1 year ago "12.1" is interpreted as the date December 1st, and as before for dates with no year the default is 2001 because of course. it gets better and more coherent the deeper you go :P permalink fedilink source parent