> 1.month.to_i
Duration of a month in seconds? Before you balk at the idea, there exists a definition of a constant month duration for accounting stuff. I you hate dates - and yourself - try accounting, there's mind boggling stuff that makes the engineer mind recoil in absolute terror.
Re:Please put units in names
by inopinatus on Monday March 21, 2022 @01:50AM
(#30750727)
Actually taken almost verbatim from the report summarizing a real and subtle bug (distributed across multiple files) in code written by definitely-not-novices.
Though it does seem pretty easy for a novice to do thinking it's the same, but what does 1.month.to_i even mean!?