Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this project being maintained? #54

Open
ruionwriting opened this issue Dec 21, 2021 · 6 comments
Open

Is this project being maintained? #54

ruionwriting opened this issue Dec 21, 2021 · 6 comments

Comments

@ruionwriting
Copy link

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?

@AlexWayfer
Copy link

It seems like no.

I used this project, but with some forks and patches:

Then I found and switched to moments: #52 (comment)

@joshuapinter
Copy link
Contributor

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.

@bethesque
Copy link

See excpt/moments#12 for specifying precision.

@joshuapinter
Copy link
Contributor

@bethesque Has that actually been released or is it just in master/main?

@bethesque
Copy link

I went to use it and discovered, as you say, that it's not released. I've added a comment asking for a release.

@joshuapinter
Copy link
Contributor

@bethesque 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants