Is this project being maintained?
I still think this is a great Gem and I just wonder what is needed to happen to get it updated at a regular pace.
activesupport (~> 5.1) for example is something that would be nice to address.
Is this project being maintained? Can I help?
It seems like no.
I used this project, but with some forks and patches:
- https://github.com/tmlee/time_difference/pull/48#issuecomment-581171651
- https://github.com/tmlee/time_difference/pull/40#issuecomment-463809231
Then I found and switched to moments: https://github.com/tmlee/time_difference/pull/52#issuecomment-709459190
Just a heads up, I did a quick comparison between TimeDifference and Moments to ensure similar results but I couldn't get fractional values from Moments:
irb(main):001:0> t1 = 14.days.ago
=> Thu, 04 Aug 2022 15:52:25 MDT -06:00
irb(main):002:0> t2 = Time.zone.now
=> Thu, 18 Aug 2022 15:52:31 MDT -06:00
irb(main):004:0> TimeDifference.between( t1, t2 ).in_minutes
=> 20160.09
irb(main):008:0> Moments.difference( t1, t2 ).in_minutes
=> 20160
Again, maybe there is a setting to preserve this kind of precision but I couldn't find it. Just be aware. I think I'll try a fork of this library as a quick fix for now.
See https://github.com/excpt/moments/pull/12 for specifying precision.
@bethesque Has that actually been released or is it just in master/main?
I went to use it and discovered, as you say, that it's not released. I've added a comment asking for a release.
@bethesque 👍