Sheldan@programming.dev to Programming@programming.dev · 1 年前new Date("wtf")jsdate.wtfexternal-linkmessage-square51fedilinkarrow-up1237arrow-down13cross-posted to: [email protected][email protected]
arrow-up1234arrow-down1external-linknew Date("wtf")jsdate.wtfSheldan@programming.dev to Programming@programming.dev · 1 年前message-square51fedilinkcross-posted to: [email protected][email protected]
minus-squarebrb@sh.itjust.workslinkfedilinkarrow-up25·1 年前 Except for some reason “2” is interpreted as a month, and the year is set to 2001. Aight I’m out
minus-squarehumanspiral@lemmy.calinkfedilinkarrow-up8·1 年前 “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
Aight I’m out
it gets better and more coherent the deeper you go :P