Sheldan@programming.dev to Programming@programming.dev · 2 days agonew Date("wtf")jsdate.wtfexternal-linkmessage-square53fedilinkarrow-up1225arrow-down13
arrow-up1222arrow-down1external-linknew Date("wtf")jsdate.wtfSheldan@programming.dev to Programming@programming.dev · 2 days agomessage-square53fedilink
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up1·22 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·21 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.