[feature] Add age to DateAndTime::Calculations

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[feature] Add age to DateAndTime::Calculations

Michael DeRosa
I was thinking about making a PR for an age method but wanted to see if there was any interest. Seems like there's enough complexity in determining the right values (leap years) and it's something a ton of apps have to deal with. Seemed like an obvious feature to include, but maybe I'm missing something?

Thanks!

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.