you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 year ago

Does the Ruby version do that though?

I haven't got it installed to check, but seeing constants like SECONDS_PER_YEAR in the documentation makes me think it's just as bad if not worse.

https://api.rubyonrails.org/classes/ActiveSupport/Duration.html

  • source
  • parent