top | item 46582303

(no title)

swrobel | 1 month 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?

discuss

order

blambeau|1 month ago

Point taken. Will see what I can do.

Probably TODAY + Duration({ days: 30 }) would be a better example then.

ElectricalUnion|1 month ago

Is this even valid ruby? Doesn't it need Rails-specific Active Support to work?