我认为这可能是由于迁移到 activesupport 2.3.5,但现在我相信一定发生了其他事情。
模型具有有效的 rfc822 样式日期:
>> s.lastVisitDate
=> "Thu, 06 Jan 2011 22:24:10 -0800"
但在我看来:
<%=h time_ago_in_words(@site.lastVisitDate) -%>
renders: *about {{count}} hours ago*
instead of: *about 2 hours ago* which was working just fine earlier.
想知道是否有其他人看到过这种行为。我已经查看了模型和视图的版本历史,最近没有任何变化,所以我相信我一定在配置方面搞砸了一些东西。