rails distance_of_time_in_words
これって、
include ActionView::Helpers::DateHelper ree-1.8.7-2011.03 :021 > t = Time.now + 2.hours => Wed Aug 17 19:54:02 +0900 2011 ree-1.8.7-2011.03 :022 > distance_of_time_in_words(Time.now,t) => "約2時間"
こうなるじゃないですか。
1時間59分30秒とか欲しいですよね?
https://github.com/radar/dotiw
これGemfileに追加してください!
そうすると幸せになれます!