4 ms·
Yeah, P30D as presumably intuitive to non-technical users has me chuckling Also, knowing that TODAY > signup + P30D transpiles to TODAY > signup + 30.days in R
by swrobel 9mo ago
Yeah, P30D as presumably intuitive to non-technical users has me chuckling
Also, knowing that TODAY > signup + P30D transpiles to TODAY > signup + 30.days in Ruby. Which one is more readable?
- ElectricalUnion 9mo agoIs this even valid ruby? Doesn't it need Rails-specific Active Support to work?
- blambeau 9mo agoPoint taken. Will see what I can do. Probably TODAY + Duration({ days: 30 }) would be a better example then.