cm0002@lemmy.world to Programmer Humor@programming.dev · 1 day agoI'm new to using Ruby and this tickled me pinklemmy.mlimagemessage-square53linkfedilinkarrow-up1402arrow-down14cross-posted to: programmerhumor@lemmy.ml
arrow-up1398arrow-down1imageI'm new to using Ruby and this tickled me pinklemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 1 day agomessage-square53linkfedilinkcross-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.