cm0002@lemmy.world to Programmer Humor@programming.dev · 24 hours agoI'm new to using Ruby and this tickled me pinklemmy.mlimagemessage-square53fedilinkarrow-up1400arrow-down14cross-posted to: programmerhumor@lemmy.ml
arrow-up1396arrow-down1imageI'm new to using Ruby and this tickled me pinklemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 24 hours agomessage-square53fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarertxn@lemmy.worldlinkfedilinkarrow-up17arrow-down1·11 hours agotimedelta marks time in days, seconds, and microseconds. It doesn’t take leap years into account because the concept of years is irrelevant to timedelta. If you need to account for leap years, you need a different API.
timedelta
marks time in days, seconds, and microseconds. It doesn’t take leap years into account because the concept of years is irrelevant totimedelta
. If you need to account for leap years, you need a different API.