Displaying 1 result from an estimated 1 matches for "next_top".
Did you mean:
next_hop
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...