time_ago_in_words => “in {{count}} days.”?

前端 未结 4 989
青春惊慌失措
青春惊慌失措 2021-02-20 12:13

I\'m having a very weird bug. In my code I have <%= time_ago_in_words(game.created_at) %>

It\'s works locally and on my staging server but NOT on my p

4条回答
  •  臣服心动
    2021-02-20 12:53

    This is happening to me to.

    I tried inserting the "datetime:" section from

    https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/en-US.yml

    into my own en.yml, hoping to override any weird stuff. But then my app does not start and it complains about a syntax error exactly on the spot of insertion "datetime:". (when I look I can not locate that unexisting syntax error with my single eye).

提交回复
热议问题