Gsus4@mander.xyz to Programmer Humor@programming.dev · 4 days agonew Date("wtf")jsdate.wtfexternal-linkmessage-square16fedilinkarrow-up1198arrow-down11cross-posted to: programmerhumor@lemmy.mlprogramming@programming.devhackernews@lemmy.bestiver.se
arrow-up1197arrow-down1external-linknew Date("wtf")jsdate.wtfGsus4@mander.xyz to Programmer Humor@programming.dev · 4 days agomessage-square16fedilinkcross-posted to: programmerhumor@lemmy.mlprogramming@programming.devhackernews@lemmy.bestiver.se
minus-squaredan@upvote.aulinkfedilinkarrow-up24·edit-24 days 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-squarezqwzzle@lemmy.calinkfedilinkEnglisharrow-up15arrow-down1·edit-23 days 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?” ¯\(ツ)/¯