<%=h (Time.now - task.created_on) %>
is what I’ve got in my view, pretty simple. It yields a floating point
number. Trick is - how do I convert that to what I want? I search and
searched and didn’t find any help becuase it’s floating point.
What I what is to be able to display in Days, hours, seconds format.
So, it should ready:
14 days, 10 hours, 32 seconds ago.
I also tried strftime and it didn’t work becuase it was floating point.
Or it didn’t work becuase of the way I was using it.
Thanks so much in advance for your help!