@Gsus4@mander.xyzcake to Programmer Humor@programming.dev • 1 month agonew Date("wtf")jsdate.wtfexternal-linkmessage-square16fedilinkarrow-up1218arrow-down11cross-posted to: programmerhumor@lemmy.mlprogramming@programming.dev
arrow-up1217arrow-down1external-linknew Date("wtf")jsdate.wtf@Gsus4@mander.xyzcake to Programmer Humor@programming.dev • 1 month agomessage-square16fedilinkcross-posted to: programmerhumor@lemmy.mlprogramming@programming.dev
minus-square@dan@upvote.aulinkfedilink26•edit-21 month agoI’ve been using JS for a long time, and have worked on some date and time libraries, and only got 12/28. Wow there’s a lot of edge cases.
minus-square@zqwzzle@lemmy.calinkfedilinkEnglish17•edit-21 month agoAs a non JS dev 15/28 by asking myself “what is the the most non-intuitive/inconsistent behaviour for this API to have?” ¯\(ツ)/¯
I’ve been using JS for a long time, and have worked on some date and time libraries, and only got 12/28. Wow there’s a lot of edge cases.
As a non JS dev 15/28 by asking myself “what is the the most non-intuitive/inconsistent behaviour for this API to have?” ¯\(ツ)/¯