Skip to content

Commit a156ca6

Browse files
committed
Stop using time_ago_in_words
1 parent c0cc7fd commit a156ca6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/next_rails/gem_info.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,7 @@ def initialize(gem_specification)
4242
end
4343

4444
def age
45-
if respond_to?(:time_ago_in_words)
46-
"#{time_ago_in_words(created_at)} ago"
47-
else
48-
created_at.strftime("%b %e, %Y")
49-
end
45+
created_at.strftime("%b %e, %Y")
5046
end
5147

5248
def sourced_from_git?

0 commit comments

Comments
 (0)