cm0002@lemmy.world to Programmer Humor@programming.dev · 17 days agoI'm new to using Ruby and this tickled me pinklemmy.mlimagemessage-square21linkfedilinkarrow-up1321
arrow-up1321imageI'm new to using Ruby and this tickled me pinklemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 17 days agomessage-square21linkfedilink
minus-squarebestboyfriendintheworld@sh.itjust.workslinkfedilinkarrow-up10·16 days agoNever use numbers when calculating dates. Use the data formats and constants the calendar library provides.
minus-squareBlackmist@feddit.uklinkfedilinkEnglisharrow-up2·16 days agoSure, if you want things at midday instead of midnight.
365.25, surely
Never use numbers when calculating dates. Use the data formats and constants the calendar library provides.
Sure, if you want things at midday instead of midnight.