Changes existing behavior of time_ago_in_words
gduquesnay opened this issue · 0 comments
gduquesnay commented
We only needed this precision in one place but all the time_ago_in_words calls started behaving differently.
see workaround :)
module ActionView
module Helpers
module DateHelper
alias_method :new_distance_of_time_in_words, :distance_of_time_in_words
alias_method :distance_of_time_in_words, :old_distance_of_time_in_words
end
end
end
Am I missing something obvious?