search for: time_to_show

Displaying 1 result from an estimated 1 matches for "time_to_show".

2010 Dec 15
4
distance_of_time_in_words shows {{count}} days instead of showing actual days
I have following code in view <% if @next_topic %> Time to show next topic <%= distance_of_time_in_words(Time.now.utc, @next_topic.time_to_show.utc) %> <hr /> <% end %> Output: Time to show next topic {{count}} days -------------------- time_to_show has following value Mon, 20 Dec 2010 12:38:00 UTC +00:00 @next_topic comes from database. I am using SQLITE. I am using Rails 2.3.8 I am using default settings for rest....