Sheldan@programming.dev to Programming@programming.dev · 2 days agonew Date("wtf")jsdate.wtfexternal-linkmessage-square53fedilinkarrow-up1239arrow-down13cross-posted to: programmer_humor@programming.devprogrammerhumor@lemmy.ml
arrow-up1236arrow-down1external-linknew Date("wtf")jsdate.wtfSheldan@programming.dev to Programming@programming.dev · 2 days agomessage-square53fedilinkcross-posted to: programmer_humor@programming.devprogrammerhumor@lemmy.ml
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up2·21 hours agoThe built-in lib is fine for basic stuff unless you do some crazy shit like expecting "2" to parse as a valid date.
minus-squareTanoh@lemmy.worldlinkfedilinkarrow-up4·20 hours agoFor very basic things maybe, but it has a lot of other weird problems and restrictions. Mutability, no real timezone support, very limited arithmetic, to name a few. As soon as you move beyond the very basic, you want someting more robust.
The built-in lib is fine for basic stuff unless you do some crazy shit like expecting
"2"
to parse as a valid date.For very basic things maybe, but it has a lot of other weird problems and restrictions. Mutability, no real timezone support, very limited arithmetic, to name a few. As soon as you move beyond the very basic, you want someting more robust.