cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoI'm new to using Ruby and this tickled me pinklemmy.mlimagemessage-square55fedilinkarrow-up1415arrow-down15cross-posted to: programmerhumor@lemmy.ml
arrow-up1410arrow-down1imageI'm new to using Ruby and this tickled me pinklemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square55fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarertxn@lemmy.worldlinkfedilinkarrow-up19arrow-down1·1 day 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.